MultipartSectionStreamExtensions.ReadAsStringAsync(MultipartSection) Method

Definition

Reads the body of the section as a string

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<System::String ^> ^ ReadAsStringAsync(Microsoft::AspNetCore::WebUtilities::MultipartSection ^ section);
public static System.Threading.Tasks.Task<string> ReadAsStringAsync (this Microsoft.AspNetCore.WebUtilities.MultipartSection section);
static member ReadAsStringAsync : Microsoft.AspNetCore.WebUtilities.MultipartSection -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function ReadAsStringAsync (section As MultipartSection) As Task(Of String)

Parameters

section
MultipartSection

The section to read from

Returns

Task<String>

The body steam as string

Applies to