Condividi tramite


QueryStringConverter.ConvertValueToString Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Converts a parameter to a query string representation.

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

Syntax

'Declaration
Public Overridable Function ConvertValueToString ( _
    parameter As Object, _
    parameterType As Type _
) As String
public virtual string ConvertValueToString(
    Object parameter,
    Type parameterType
)

Parameters

Return Value

Type: System.String
The parameter name and value.

Examples

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

Version Information

Silverlight

Supported in: 5, 4

Platforms

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