Share via


HttpContentMultipartExtensions.IsMimeMultipartContent Method

 

Namespace:   System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Overload List

Name Description
System_CAPS_pubmethodSystem_CAPS_static IsMimeMultipartContent(HttpContent)

Determines whether the specified content is MIME multipart content.

System_CAPS_pubmethodSystem_CAPS_static 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

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

  • subtype
    Type: System.String

    The 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