Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / CommandConverter Class / ConvertTo Method / ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
A format context that provides information about the environment from which this converter is being invoked.
Culture specific information.
The object to convert.
The type to convert the object to.

In This Topic
    ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
    In This Topic
    Attempts to convert an ICommand to the specified type.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides NotOverridable Function ConvertTo( _
       ByVal context As ITypeDescriptorContext, _
       ByVal culture As CultureInfo, _
       ByVal value As Object, _
       ByVal destinationType As Type _
    ) As Object

    Parameters

    context
    A format context that provides information about the environment from which this converter is being invoked.
    culture
    Culture specific information.
    value
    The object to convert.
    destinationType
    The type to convert the object to.

    Return Value

    The converted object, or an empty string if value is null.
    See Also