Share via


MediaTypeFormatterExtensions.AddQueryStringMapping Method

 

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

Overload List

Name Description
System_CAPS_pubmethodSystem_CAPS_static AddQueryStringMapping(MediaTypeFormatter, String, String, MediaTypeHeaderValue)

System_CAPS_pubmethodSystem_CAPS_static AddQueryStringMapping(MediaTypeFormatter, String, String, String)

See Also

MediaTypeFormatterExtensions Class
System.Net.Http.Formatting Namespace

Return to top

MediaTypeFormatterExtensions.AddQueryStringMapping Method (MediaTypeFormatter, String, String, MediaTypeHeaderValue)

Syntax

public static void AddQueryStringMapping(
    this MediaTypeFormatter formatter,
    string queryStringParameterName,
    string queryStringParameterValue,
    MediaTypeHeaderValue mediaType
)
public:
[ExtensionAttribute]
static void AddQueryStringMapping(
    MediaTypeFormatter^ formatter,
    String^ queryStringParameterName,
    String^ queryStringParameterValue,
    MediaTypeHeaderValue^ mediaType
)
static member AddQueryStringMapping : 
        formatter:MediaTypeFormatter *
        queryStringParameterName:string *
        queryStringParameterValue:string *
        mediaType:MediaTypeHeaderValue -> unit
<ExtensionAttribute>
Public Shared Sub AddQueryStringMapping (
    formatter As MediaTypeFormatter,
    queryStringParameterName As String,
    queryStringParameterValue As String,
    mediaType As MediaTypeHeaderValue
)

Parameters

Return to top

MediaTypeFormatterExtensions.AddQueryStringMapping Method (MediaTypeFormatter, String, String, String)

Syntax

public static void AddQueryStringMapping(
    this MediaTypeFormatter formatter,
    string queryStringParameterName,
    string queryStringParameterValue,
    string mediaType
)
public:
[ExtensionAttribute]
static void AddQueryStringMapping(
    MediaTypeFormatter^ formatter,
    String^ queryStringParameterName,
    String^ queryStringParameterValue,
    String^ mediaType
)
static member AddQueryStringMapping : 
        formatter:MediaTypeFormatter *
        queryStringParameterName:string *
        queryStringParameterValue:string *
        mediaType:string -> unit
<ExtensionAttribute>
Public Shared Sub AddQueryStringMapping (
    formatter As MediaTypeFormatter,
    queryStringParameterName As String,
    queryStringParameterValue As String,
    mediaType As String
)

Parameters

Return to top