Udostępnij za pośrednictwem


MultipartSectionConverterExtensions.GetContentDispositionHeader Metoda

Definicja

Pobiera i analizuje nagłówek usuwania zawartości z sekcji

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Net::Http::Headers::ContentDispositionHeaderValue ^ GetContentDispositionHeader(Microsoft::AspNetCore::WebUtilities::MultipartSection ^ section);
public static Microsoft.Net.Http.Headers.ContentDispositionHeaderValue GetContentDispositionHeader (this Microsoft.AspNetCore.WebUtilities.MultipartSection section);
public static Microsoft.Net.Http.Headers.ContentDispositionHeaderValue? GetContentDispositionHeader (this Microsoft.AspNetCore.WebUtilities.MultipartSection section);
static member GetContentDispositionHeader : Microsoft.AspNetCore.WebUtilities.MultipartSection -> Microsoft.Net.Http.Headers.ContentDispositionHeaderValue
<Extension()>
Public Function GetContentDispositionHeader (section As MultipartSection) As ContentDispositionHeaderValue

Parametry

section
MultipartSection

Sekcja, z której mają być pobierane

Zwraca

A ContentDispositionHeaderValue jeśli nagłówek został znaleziony, w przeciwnym razie wartość null

Dotyczy