MultipartSectionConverterExtensions.GetContentDispositionHeader Method

Definition

Retrieves and parses the content disposition header from a section

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

Parameters

section
MultipartSection

The section from which to retrieve

Returns

A ContentDispositionHeaderValue if the header was found, null otherwise

Applies to