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

适用于