Returns whether this converter can convert the object to the specified type, using the specified context.
Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)
Syntax
| C# |
|---|
public override bool CanConvertTo(
ITypeDescriptorContext context,
Type destinationType
) |
| Visual Basic |
|---|
Public Overrides Function CanConvertTo (
context As ITypeDescriptorContext,
destinationType As Type
) As Boolean |
| Visual C++ |
|---|
public:
virtual bool CanConvertTo(
ITypeDescriptorContext^ context,
Type^ destinationType
) override |
| F# |
|---|
abstract CanConvertTo :
context : ITypeDescriptorContext *
destinationType : Type -> bool
override CanConvertTo :
context : ITypeDescriptorContext *
destinationType : Type -> bool |
Return Value
Type:
Booleantrue if this converter can perform the conversion, otherwise
false.
See Also