Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns whether this converter can convert the object to the specified type, using the specified context.
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)
Syntax
public override bool CanConvertTo(
ITypeDescriptorContext context,
Type destinationType
)
public:
virtual bool CanConvertTo(
ITypeDescriptorContext^ context,
Type^ destinationType
) override
override CanConvertTo :
context:ITypeDescriptorContext *
destinationType:Type -> bool
Public Overrides Function CanConvertTo (
context As ITypeDescriptorContext,
destinationType As Type
) As Boolean
Parameters
context
Type: System.ComponentModel.ITypeDescriptorContextAn ITypeDescriptorContext that provides a format context.
destinationType
Type: System.TypeA Type that represents the type you want to convert to.
Return Value
Type: System.Boolean
true if this converter can perform the conversion; otherwise, false.
See Also
CanConvertTo Overload
ModelBusReferenceTypeConverter Class
Microsoft.VisualStudio.Modeling.Integration Namespace
Return to top