Export (0) Print
Expand All

QueryStringConverter.ConvertValueToString Method

Converts a parameter to a query string representation.

Namespace:  System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel.Web.Extensions (in System.ServiceModel.Web.Extensions.dll)

public virtual string ConvertValueToString(
	Object parameter,
	Type parameterType
)

Parameters

parameter
Type: System.Object
The parameter to convert.
parameterType
Type: System.Type
The Type of the parameter to convert.

Return Value

Type: System.String
The parameter name and value.

The following code shows how to convert a typed value into a string representation of the value.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft