MediaTypeFormatterExtensions.AddQueryStringMapping Method
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Overload List
Name | Description | |
---|---|---|
AddQueryStringMapping(MediaTypeFormatter, String, String, MediaTypeHeaderValue) | ||
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
- formatter
Type: System.Net.Http.Formatting.MediaTypeFormatter
- queryStringParameterName
Type: System.String
- queryStringParameterValue
Type: System.String
- mediaType
Type: System.Net.Http.Headers.MediaTypeHeaderValue
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
- formatter
Type: System.Net.Http.Formatting.MediaTypeFormatter
- queryStringParameterName
Type: System.String
- queryStringParameterValue
Type: System.String
- mediaType
Type: System.String
Return to top