HttpContentMultipartExtensions.IsMimeMultipartContent Method
Namespace: System.Net.Http
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Overload List
Name | Description | |
---|---|---|
IsMimeMultipartContent(HttpContent) | Determines whether the specified content is MIME multipart content. |
|
IsMimeMultipartContent(HttpContent, String) | Determines whether the specified content is MIME multipart content with the specified subtype. |
See Also
HttpContentMultipartExtensions Class
System.Net.Http Namespace
Return to top
HttpContentMultipartExtensions.IsMimeMultipartContent Method (HttpContent)
Determines whether the specified content is MIME multipart content.
Syntax
public static bool IsMimeMultipartContent(
this HttpContent content
)
public:
[ExtensionAttribute]
static bool IsMimeMultipartContent(
HttpContent^ content
)
static member IsMimeMultipartContent :
content:HttpContent -> bool
<ExtensionAttribute>
Public Shared Function IsMimeMultipartContent (
content As HttpContent
) As Boolean
Parameters
content
Type: System.Net.Http.HttpContentThe content.
Return Value
Type: System.Boolean
true if the specified content is MIME multipart content; otherwise, false.
Return to top
HttpContentMultipartExtensions.IsMimeMultipartContent Method (HttpContent, String)
Determines whether the specified content is MIME multipart content with the specified subtype.
Syntax
public static bool IsMimeMultipartContent(
this HttpContent content,
string subtype
)
public:
[ExtensionAttribute]
static bool IsMimeMultipartContent(
HttpContent^ content,
String^ subtype
)
static member IsMimeMultipartContent :
content:HttpContent *
subtype:string -> bool
<ExtensionAttribute>
Public Shared Function IsMimeMultipartContent (
content As HttpContent,
subtype As String
) As Boolean
Parameters
content
Type: System.Net.Http.HttpContentThe content.
subtype
Type: System.StringThe MIME multipart subtype to match.
Return Value
Type: System.Boolean
true if the specified content is MIME multipart content with the specified subtype; otherwise, false.
Return to top