Redigeeri

Jagamisviis:


SendPacketsElement.Buffer Property

Definition

Gets the buffer to be sent if the SendPacketsElement object was initialized with a buffer parameter.

public:
 property cli::array <System::Byte> ^ Buffer { cli::array <System::Byte> ^ get(); };
public byte[]? Buffer { get; }
public byte[] Buffer { get; }
member this.Buffer : byte[]
Public ReadOnly Property Buffer As Byte()

Property Value

Byte[]

The byte buffer to send if the SendPacketsElement object was initialized with a buffer parameter.

Remarks

The default value for the Buffer property is null if the SendPacketsElement object was not initialized with a buffer parameter or buffer was passed as a ReadOnlyMemory<T> of bytes.

In the latter case, the buffer can be obtained using the MemoryBuffer property.

Applies to