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