Partilhar via


Método GraphNodeIdConverter.CanConvertFrom (ITypeDescriptorContext, Type)

Este membro substitui TypeConverter.CanConvertFrom(ITypeDescriptorContext, Type).

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (em Microsoft.VisualStudio.GraphModel.dll)

Sintaxe

'Declaração
Public Overrides Function CanConvertFrom ( _
    context As ITypeDescriptorContext, _
    sourceType As Type _
) As Boolean
public override bool CanConvertFrom(
    ITypeDescriptorContext context,
    Type sourceType
)
public:
virtual bool CanConvertFrom(
    ITypeDescriptorContext^ context, 
    Type^ sourceType
) override
abstract CanConvertFrom : 
        context:ITypeDescriptorContext * 
        sourceType:Type -> bool 
override CanConvertFrom : 
        context:ITypeDescriptorContext * 
        sourceType:Type -> bool 
public override function CanConvertFrom(
    context : ITypeDescriptorContext, 
    sourceType : Type
) : boolean

Parâmetros

Valor de retorno

Tipo: System.Boolean

Segurança do .NET Framework

Consulte também

Referência

GraphNodeIdConverter Classe

Sobrecargas CanConvertFrom

Namespace Microsoft.VisualStudio.GraphModel