Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XPathMessageContextTypeConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

.NET Framework (current version)
 

Converts the provided context object into the XAML-serializable type of this converter, using the specified context and culture information.

Namespace:   System.ServiceModel.XamlIntegration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public override object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	object value,
	Type destinationType
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

A type that provides the format context.

culture
Type: System.Globalization.CultureInfo

The information about a specific culture, such as calendars, and number formats.

value
Type: System.Object

The object to convert.

destinationType
Type: System.Type

The type to convert the value argument to.

Return Value

Type: System.Object

The converted context.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft