getAttachmentTypes

Retrieves a list of attachment type names. The returned list contains the valid names used in the mstrType field in CFileAttachment. A SOAP error envelope is returned if the operation fails.

Parameters

Parameter Type Description
cookie long Session cookie returned by projectLogon.

Return value

Value Type
pTypeList string[]

Example

string[] attachTypes = ttsdk.getAttachmentTypes(cookie);