This documentation is archived and is not being maintained.

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


Type: System.ComponentModel.ITypeDescriptorContext
An object that describes any type descriptor context. This object must implement the ITypeDescriptorContext interface. This parameter may be null.
Type: System.Globalization.CultureInfo
A CultureInfo object containing any cultural context for the conversion. This parameter may be null.
Type: System.Object
An object to convert from. This object must be of type InputScope.
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

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.