InputScopeConverter::ConvertTo Method (ITypeDescriptorContext^, CultureInfo^, Object^, Type^)
Converts an InputScope object into a specified object type (string).
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.
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1