MultipartSectionConverterExtensions.GetContentDispositionHeader 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從區段擷取和剖析內容處置標頭
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