Back to product page

Body property


Holds full body of the part.

Type

String

Syntax

  • Basic
object.Body [= value]
The Body(object,value) syntax has these parts:
objectAn expression evaluating to an object of type WebRequestUploadPart
valueA String value.

Remarks

Body property returns String representation of uploaded content - file or a variable. If you except to receive a file, it is more convenient to access it through Save method. But if it contains other information, such as uploader's login or password, it's easier to access it directly through this property.

This is just a wrapper function - it loads file specified in Filename and reads specific part on your behalf, and provides it as a String.

Platforms

Windows