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

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

Public Properties

Property Type Description
AddressPrfixUsed byte
AddressType byte[]
DisplayName byte[]
DisplayType byte
EmailAddress byte[]
EntryId byte[]
EntryIdSize ushort
RecipientColumnCount ushort
RecipientFlags ushort
RecipientProperties PropertyRow
SearchKey byte[]
SearchKeySize ushort
SimpleDisplayName byte[]
TransmittableDisplayName byte[]
X500DN byte[]

Public Methods

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

Deserialize the response buffer.

Serialize ( ) : byte[]

Serialize the request buffer.

Size ( ) : int

Size of RecipientRow structure.

Method Details

Deserialize() public method

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

Serialize() public method

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

Size() public method

Size of RecipientRow structure.
public Size ( ) : int
return int

Property Details

AddressPrfixUsed public property

This field MUST be present when the Type field of the RecipientFlags field is set to X500DN (0x1) and MUST NOT be present otherwise. This value specifies the amount of the Address Prefix is used for this X500 DN.
public byte AddressPrfixUsed
return byte

AddressType public property

Null-terminated ASCII string. This field MUST be present when the Type field of the RecipientsFlags field is set to NoType (0x0) and the O flag of the RecipientsFlags field is set. This field MUST NOT be present otherwise. This string specifies the address type of the recipient.
public byte[] AddressType
return byte[]

DisplayName public property

Null-terminated string. This field MUST be present when the D flag of the RecipientsFlags field is set and MUST NOT be present otherwise. This field MUST be specified in Unicode characters if the U flag of the RecipientsFlags field is set and 8-bit character set otherwise. This string specifies the Email Address of the recipient.
public byte[] DisplayName
return byte[]

DisplayType public property

This field MUST be present when the Type field of the RecipientFlags field is set to X500DN (0x1) and MUST NOT be present otherwise. This value specifies the display type of this address.
public byte DisplayType
return byte

EmailAddress public property

Null-terminated string. This field MUST be present when the E flag of the RecipientsFlags field is set and MUST NOT be present otherwise. This field MUST be specified in Unicode characters if the U flag of the RecipientsFlags field is set and 8-bit character set otherwise. This string specifies the Email Address of the recipient.
public byte[] EmailAddress
return byte[]

EntryId public property

This field MUST be present when the Type field of the RecipientFlags field is set to PersonalDistributionList1 (0x6) or PersonalDistributionList2 (0x7). This field MUST NOT be present otherwise. The number of bytes in this field MUST be the same as specified in the EntryIdSize field. This array specifies the address book EntryID of the distribution list.
public byte[] EntryId
return byte[]

EntryIdSize public property

This field MUST be present when the Type field of the RecipientFlags field is set to PersonalDistributionList1 (0x6) or PersonalDistributionList2 (0x7). This field MUST NOT be present otherwise. This value specifies the size of the EntryID field.
public ushort EntryIdSize
return ushort

RecipientColumnCount public property

This value specifies the number of columns from the RecipientColumns field that are included in RecipientProperties.
public ushort RecipientColumnCount
return ushort

RecipientFlags public property

RecipientFlags structure. The format of this structure is defined in section 2.9.3.1. This value specifies the type of recipient and which standard properties are included.
public ushort RecipientFlags
return ushort

RecipientProperties public property

PropertyRow structures.
public PropertyRow,Microsoft.Protocols.TestSuites.Common RecipientProperties
return PropertyRow

SearchKey public property

This field is used when the Type field of the RecipientFlags field is set to PersonalDistributionList1 (0x6) or PersonalDistributionList2 (0x7). This field MUST NOT be present otherwise. The number of bytes in this field MUST be the same as specified in the SearchKeySize field and can be 0. This array specifies the Search Key of the distribution list.
public byte[] SearchKey
return byte[]

SearchKeySize public property

This field MUST be present when the Type field of the RecipientFlags field is set to PersonalDistributionList1 (0x6) or PersonalDistributionList2 (0x7). This field MUST NOT be present otherwise. This value specifies the size of the SearchKey field.
public ushort SearchKeySize
return ushort

SimpleDisplayName public property

Null-terminated string. This field MUST be present when the I flag of the RecipientsFlags field is set and MUST NOT be present otherwise. This field MUST be specified in Unicode characters if the U flag of the RecipientsFlags field is set and 8-bit character set otherwise. This string specifies the Email Address of the recipient.
public byte[] SimpleDisplayName
return byte[]

TransmittableDisplayName public property

Null-terminated string. This field MUST be present when the T flag of the RecipientsFlags field is set and MUST NOT be present otherwise. This field MUST be specified in Unicode characters if the U flag of the RecipientsFlags field is set and 8-bit character set otherwise. This string specifies the Email Address of the recipient.
public byte[] TransmittableDisplayName
return byte[]

X500DN public property

Null-terminated ASCII string. This field MUST be present when the Type field of the RecipientFlags field is set to X500DN (0x1) and MUST NOT be present otherwise. This value specifies the X500 DN of this recipient.
public byte[] X500DN
return byte[]