Delen via


GraphNodeIdConverter.CanConvertTo Method (ITypeDescriptorContext, Type)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Determines whether the GraphNodeId can be converted to the given type.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.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

  • destinationType
    Type: System.Type

    The type to convert to.

Return Value

Type: System.Boolean
True if this converter can convert the GraphNodeId into the destination type, false otherwise.

.NET Framework Security

See Also

Reference

GraphNodeIdConverter Class

CanConvertTo Overload

Microsoft.VisualStudio.GraphModel Namespace