GraphNodeIdConverter::CanConvertFrom Method (ITypeDescriptorContext^, Type^)

 

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

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

public:
virtual bool CanConvertFrom(
	ITypeDescriptorContext^ context,
	Type^ sourceType
) override

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext^

The type descriptor context for the conversion.

sourceType
Type: System::Type^

The type to convert from.

Return Value

Type: System::Boolean

True if the GraphNodeId can be converted from the source type.

Return to top
Show: