ModelBusReferenceTypeConverter.CanConvertTo Method (ITypeDescriptorContext, Type)

 

Returns whether this converter can convert the object to the specified type, using the specified context.

Namespace:   Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)

Syntax

public override bool CanConvertTo(
    ITypeDescriptorContext context,
    Type destinationType
)
public:
virtual bool CanConvertTo(
    ITypeDescriptorContext^ context,
    Type^ destinationType
) override
override CanConvertTo : 
        context:ITypeDescriptorContext *
        destinationType:Type -> bool
Public Overrides Function CanConvertTo (
    context As ITypeDescriptorContext,
    destinationType As Type
) As Boolean

Parameters

  • destinationType
    Type: System.Type

    A Type that represents the type you want to convert to.

Return Value

Type: System.Boolean

true if this converter can perform the conversion; otherwise, false.

See Also

CanConvertTo Overload
ModelBusReferenceTypeConverter Class
Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top