AVEVA CAF API Documenation

An System.ComponentModel.ITypeDescriptorContext that provides a format context.
A System.Type that represents the type you want to convert from.
CanConvertFrom(ITypeDescriptorContext,Type) Method
Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
Syntax
public override bool CanConvertFrom( 
   ITypeDescriptorContext context,
   Type sourceType
)
public:
bool CanConvertFrom( 
   ITypeDescriptorContext^ context,
   Type^ sourceType
) override 

Parameters

context
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
sourceType
A System.Type that represents the type you want to convert from.

Return Value

true if this converter can perform the conversion; otherwise, false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also