DimeRecord.ContentLength Property
Gets the payload length of the DIME record.
Namespace: Microsoft.Web.Services2.Dime
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Dim dimeRecord1 As DimeRecord
Dim returnValue As Integer
returnValue = dimeRecord1.ContentLength
Syntax
'Declaration
Public ReadOnly Property ContentLength() As Integer
public int ContentLength {get;}
public: property Int32 ContentLength{
Int32 get();
}
public int get_ContentLength();
public function get ContentLength() : int;
Property Value
The number of bytes in the DIME record.
Remarks
When writing, this property specifies the payload length in bytes of the DIME record, or -1 if the record is chunked. The property does not give the actual size if the payload is chunked. When reading, this property indicates the length of the payload as specified in the DIME record header.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
DimeRecord Class
Microsoft.Web.Services2.Dime Namespace