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

Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
Guid byte[]
Kind byte
LID uint?
Name byte[]
NameSize byte?

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

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

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

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

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

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

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

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

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

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

The GUID that identifies the property set for the named property.
public byte[] Guid
Результат byte[]

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

The possible values are listed in [MS-OXCDATA] 2.6.1.
public byte Kind
Результат byte

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

Present only if Kind = 0x00. An unsigned 32-bit integer that identifies the named property within its property set.
public uint? LID
Результат uint?

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

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
Результат byte[]

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

Present only if Kind = 0x01. A single byte giving the number of bytes in the Name string that follows it.
public byte? NameSize
Результат byte?