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

A property tag both identifies a property and gives the data type its value.
Afficher le fichier Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Méthodes publiques

Свойство Type Description
PropertyId ushort
PropertyType ushort

Méthodes publiques

Méthode Description
Deserialize ( byte ropBytes, int startIndex ) : int

Deserialize the ROP response buffer.

PropertyTag ( ushort propertyId, ushort propertyType ) : System

Initializes a new instance of the PropertyTag structure.

Serialize ( ) : byte[]

Serialize the ROP request buffer.

Size ( ) : int

Return the size of this structure.

Method Details

Deserialize() public méthode

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.
Résultat int

PropertyTag() public méthode

Initializes a new instance of the PropertyTag structure.
public PropertyTag ( ushort propertyId, ushort propertyType ) : System
propertyId ushort Property id
propertyType ushort Property type
Résultat System

Serialize() public méthode

Serialize the ROP request buffer.
public Serialize ( ) : byte[]
Résultat byte[]

Size() public méthode

Return the size of this structure.
public Size ( ) : int
Résultat int

Property Details

PropertyId public_oe property

A 16-bit unsigned integer that identifies the property.
public ushort PropertyId
Résultat ushort

PropertyType public_oe property

16-bit unsigned integer that identifies the data type of the property value.
public ushort PropertyType
Résultat ushort