C# Класс Microsoft.Protocols.TestSuites.Common.PropertyTag

A property tag both identifies a property and gives the data type its value.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
PropertyId ushort
PropertyType ushort

Открытые методы

Метод Описание
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.

Описание методов

Deserialize() публичный Метод

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.
Результат int

PropertyTag() публичный Метод

Initializes a new instance of the PropertyTag structure.
public PropertyTag ( ushort propertyId, ushort propertyType ) : System
propertyId ushort Property id
propertyType ushort Property type
Результат System

Serialize() публичный Метод

Serialize the ROP request buffer.
public Serialize ( ) : byte[]
Результат byte[]

Size() публичный Метод

Return the size of this structure.
public Size ( ) : int
Результат int

Описание свойств

PropertyId публичное свойство

A 16-bit unsigned integer that identifies the property.
public ushort PropertyId
Результат ushort

PropertyType публичное свойство

16-bit unsigned integer that identifies the data type of the property value.
public ushort PropertyType
Результат ushort