ReadOnlyMemoryContent(ReadOnlyMemory<Byte>) 建構函式

定義

初始化 ReadOnlyMemoryContent 類別的新執行個體。

public:
 ReadOnlyMemoryContent(ReadOnlyMemory<System::Byte> content);
public ReadOnlyMemoryContent (ReadOnlyMemory<byte> content);
new System.Net.Http.ReadOnlyMemoryContent : ReadOnlyMemory<byte> -> System.Net.Http.ReadOnlyMemoryContent
Public Sub New (content As ReadOnlyMemory(Of Byte))

參數

content
ReadOnlyMemory<Byte>

用來初始化 ReadOnlyMemoryContent 的內容。

適用於