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)
Syntax
Public Overrides Function ConvertTo ( _
context As ITypeDescriptorContext, _
culture As CultureInfo, _
value As Object, _
destinationType As Type _
) As Object
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.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone