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

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: