Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Overload List
Name | Description | |
---|---|---|
![]() |
QueryStringMapping(String, String, MediaTypeHeaderValue) | Initializes a new instance of the QueryStringMapping class. |
![]() |
QueryStringMapping(String, String, String) | Initializes a new instance of the QueryStringMapping class. |
See Also
QueryStringMapping Class
System.Net.Http.Formatting Namespace
Return to top
QueryStringMapping Constructor (String, String, MediaTypeHeaderValue)
Initializes a new instance of the QueryStringMapping class.
Syntax
public QueryStringMapping(
string queryStringParameterName,
string queryStringParameterValue,
MediaTypeHeaderValue mediaType
)
public:
QueryStringMapping(
String^ queryStringParameterName,
String^ queryStringParameterValue,
MediaTypeHeaderValue^ mediaType
)
new :
queryStringParameterName:string *
queryStringParameterValue:string *
mediaType:MediaTypeHeaderValue -> QueryStringMapping
Public Sub New (
queryStringParameterName As String,
queryStringParameterValue As String,
mediaType As MediaTypeHeaderValue
)
Parameters
queryStringParameterName
Type: System.StringThe name of the query string parameter to match, if present.
queryStringParameterValue
Type: System.StringThe value of the query string parameter specified by queryStringParameterName.
mediaType
Type: System.Net.Http.Headers.MediaTypeHeaderValueThe MediaTypeHeaderValue to use if the query parameter specified by queryStringParameterName is present and assigned the value specified by queryStringParameterValue.
Return to top
QueryStringMapping Constructor (String, String, String)
Initializes a new instance of the QueryStringMapping class.
Syntax
public QueryStringMapping(
string queryStringParameterName,
string queryStringParameterValue,
string mediaType
)
public:
QueryStringMapping(
String^ queryStringParameterName,
String^ queryStringParameterValue,
String^ mediaType
)
new :
queryStringParameterName:string *
queryStringParameterValue:string *
mediaType:string -> QueryStringMapping
Public Sub New (
queryStringParameterName As String,
queryStringParameterValue As String,
mediaType As String
)
Parameters
queryStringParameterName
Type: System.StringThe name of the query string parameter to match, if present.
queryStringParameterValue
Type: System.StringThe value of the query string parameter specified by queryStringParameterName.
mediaType
Type: System.StringThe media type to use if the query parameter specified by queryStringParameterName is present and assigned the value specified by queryStringParameterValue.
Return to top