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.

InputScopeConverter::ConvertTo Method (ITypeDescriptorContext^, CultureInfo^, Object^, Type^)

 

Converts an InputScope object into a specified object type (string).

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public:
virtual Object^ ConvertTo(
	ITypeDescriptorContext^ context,
	CultureInfo^ culture,
	Object^ value,
	Type^ destinationType
) override

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext^

An object that describes any type descriptor context. This object must implement the ITypeDescriptorContext interface. This parameter may be null.

culture
Type: System.Globalization::CultureInfo^

A CultureInfo object containing any cultural context for the conversion. This parameter may be null.

value
Type: System::Object^

An object to convert from. This object must be of type InputScope.

destinationType
Type: System::Type^

A destination type to convert type. This type must be string.

Return Value

Type: System::Object^

A new object of the specified type (string) converted from the given InputScope object.

destinationType must be String.

.NET Framework
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2017 Microsoft