ContentDispositionHeaderValueIdentityExtensions.IsFileDisposition 方法

定义

检查内容处置标头是否为文件处置

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsFileDisposition(Microsoft::Net::Http::Headers::ContentDispositionHeaderValue ^ header);
public static bool IsFileDisposition (this Microsoft.Net.Http.Headers.ContentDispositionHeaderValue header);
static member IsFileDisposition : Microsoft.Net.Http.Headers.ContentDispositionHeaderValue -> bool
<Extension()>
Public Function IsFileDisposition (header As ContentDispositionHeaderValue) As Boolean

参数

header
ContentDispositionHeaderValue

要检查的标头

返回

如果标头是文件处置,则为 True;否则为 false

适用于