HttpContentFormDataExtensions.IsFormData Method (HttpContent)

 

Determines whether the specified content is HTML form URL-encoded data.

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

Syntax

public static bool IsFormData(
    this HttpContent content
)
public:
[ExtensionAttribute]
static bool IsFormData(
    HttpContent^ content
)
static member IsFormData : 
        content:HttpContent -> bool
<ExtensionAttribute>
Public Shared Function IsFormData (
    content As HttpContent
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the specified content is HTML form URL-encoded data; otherwise, false.

See Also

HttpContentFormDataExtensions Class
System.Net.Http Namespace

Return to top