UserContextTypeConverter.CanConvertTo Method (ITypeDescriptorContext, Type)
This method is not used by the Visual Studio SDK. Indicates whether this converter can convert the Help context to the specified type by using the specified format context.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
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.ITypeDescriptorContext
The format context.
- destinationType
Type: System.Type
The type to convert to.
Return Value
Type: System.Boolean
true if this converter can perform the conversion; otherwise, false.
Remarks
This converter can only convert a Help context to and from a string.
.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.