Bewerken

Share via


PeerNameRegistration.Data Property

Definition

Gets or sets application-defined binary data for the PeerNameRegistration 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. This property is set to null by default.

Exceptions

The specified Data is greater than 4096 bytes.

Remarks

The maximum amount of Data that can be supplied is 4,096 bytes.

Applies to