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
- 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.
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.