ContentDispositionHeaderValueIdentityExtensions.IsFormDisposition 方法

定义

检查内容处置标头是否为表单处置

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

参数

header
ContentDispositionHeaderValue

要检查的标头

返回

如果标头是窗体处置,则为 True;否则为 false

适用于