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

 

Returns whether this converter can convert an object of the given type to the type of this converter, by using the specified context.

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

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

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext^

sourceType
Type: System::Type^

Return Value

Type: System::Boolean

Returns Boolean.

Return to top
Show: