EdgePointConverter.CanConvertTo Method (ITypeDescriptorContext, Type)

Only supports converting to string.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Overrides Function CanConvertTo ( _
    context As ITypeDescriptorContext, _
    destinationType As Type _
) As Boolean
public override bool CanConvertTo(
    ITypeDescriptorContext context,
    Type destinationType
)
public:
virtual bool CanConvertTo(
    ITypeDescriptorContext^ context, 
    Type^ destinationType
) override
abstract CanConvertTo : 
        context:ITypeDescriptorContext * 
        destinationType:Type -> bool  
override CanConvertTo : 
        context:ITypeDescriptorContext * 
        destinationType:Type -> bool
public override function CanConvertTo(
    context : ITypeDescriptorContext, 
    destinationType : Type
) : boolean

Parameters

  • context
    Type: ITypeDescriptorContext
  • destinationType
    Type: Type

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

EdgePointConverter Class

CanConvertTo Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace