UploadContents Property

 Object: SoftArtisans.SAFile
 Syntax: UploadContents ([type])
 Type: Variant
 Read/Write: Read Only
 Description: This property is used in conjunction with the FileUp object UseMemory property. It returns the contents of the uploaded file in one of three possible formats, depending on the value of an optional parameter, type.

The following table lists the possible values for the type parameter and the corresponding return value. Note that the default value is 0.

Value of type Returns Automation Definition
0 String BSTR
1 An array of variants SAFEARRAY of VARIANTS
2 An array of binary characters VT_UI1 | VT_ARRAY

 

Previous Page Next Page