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
context
Type: System.ComponentModel.ITypeDescriptorContextThe type descriptor context.
destinationType
Type: System.TypeThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.