Uređivanje

Dijeli putem


PeerNameRecord.Data Property

Definition

Gets or sets application-defined binary data for the PeerNameRecord object.

public:
 property cli::array <System::Byte> ^ Data { cli::array <System::Byte> ^ get(); void set(cli::array <System::Byte> ^ value); };
public byte[] Data { get; set; }
member this.Data : byte[] with get, set
Public Property Data As Byte()

Property Value

Byte[]

An array of bytes that holds the binary data associated with the entry. The default value for this property is an empty (zero-length) array instance.

Exceptions

The length of the binary data array to set is either greater than 4096 or less than 1.

The data to set is null.

Remarks

The maximum amount of data that can be supplied is 4096 bytes. This property cannot be null.

Applies to