SendPacketsElement.MemoryBuffer 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 the buffer to be sent if the SendPacketsElement object was initialized with a buffer
parameter.
public:
property Nullable<ReadOnlyMemory<System::Byte>> MemoryBuffer { Nullable<ReadOnlyMemory<System::Byte>> get(); };
public ReadOnlyMemory<byte>? MemoryBuffer { get; }
member this.MemoryBuffer : Nullable<ReadOnlyMemory<byte>>
Public ReadOnly Property MemoryBuffer As Nullable(Of ReadOnlyMemory(Of Byte))
Property Value
The ReadOnlyMemory<T> of bytes to be sent if the SendPacketsElement object was initialized with a buffer
parameter.
Remarks
The default value for the MemoryBuffer property is null
if the SendPacketsElement object was not initialized with a buffer
parameter.
If buffer
was passed as a byte[]
, MemoryBuffer returns the contents of Buffer as a ReadOnlyMemory<T> of bytes.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för