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:
virtual Object^ ConvertTo(
	ITypeDescriptorContext^ context,
	CultureInfo^ culture,
	Object^ value,
	Type^ destinationType
) override

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: