PeerNameRecord.Data Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
.