共用方式為


MultipartSectionConverterExtensions.GetContentDispositionHeader 方法

定義

從區段擷取和剖析內容處置標頭

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

參數

section
MultipartSection

要從中擷取的區段

傳回

ContentDispositionHeaderValue如果找到標頭,則為 null,否則為 null

適用於