ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)
Collapse the table of content
Expand the table of content

InputScopeNameConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Converts the specified value object to the specified type.

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

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

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
culture
Type: System.Globalization.CultureInfo
Describes the intended CultureInfo for the conversion.
value
Type: System.Object
The object to convert.
destinationType
Type: System.Type
The intended destination type for the conversion.

Return Value

Type: System.Object
The converted object.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft