C# Class Microsoft.Protocols.TestSuites.Common.PropertyName

Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Properties

Property Type Description
Guid byte[]
Kind byte
LID uint?
Name byte[]
NameSize byte?

Public Methods

Method Description
Deserialize ( byte ropBytes, int startIndex ) : int

Deserialize the ROP response buffer.

Serialize ( ) : byte[]

Serialize the ROP request buffer.

Size ( ) : int

Return the size of this structure.

Method Details

Deserialize() public method

Deserialize the ROP response buffer.
public Deserialize ( byte ropBytes, int startIndex ) : int
ropBytes byte ROPs bytes in response.
startIndex int The start index of this ROP.
return int

Serialize() public method

Serialize the ROP request buffer.
public Serialize ( ) : byte[]
return byte[]

Size() public method

Return the size of this structure.
public Size ( ) : int
return int

Property Details

Guid public property

The GUID that identifies the property set for the named property.
public byte[] Guid
return byte[]

Kind public property

The possible values are listed in [MS-OXCDATA] 2.6.1.
public byte Kind
return byte

LID public property

Present only if Kind = 0x00. An unsigned 32-bit integer that identifies the named property within its property set.
public uint? LID
return uint?

Name public property

Present only if Kind = 0x01. A Unicode (UTF-16) string, followed by two zero bytes as a null terminator, that identifies the property within its property set.
public byte[] Name
return byte[]

NameSize public property

Present only if Kind = 0x01. A single byte giving the number of bytes in the Name string that follows it.
public byte? NameSize
return byte?