RanorexRanorex Documentation
CanConvertFrom Method (context, sourceType)
NamespacesRanorexLocation..::.LocationConverterCanConvertFrom(ITypeDescriptorContext, Type)
Returns true for String type.
Declaration Syntax
C#Visual BasicVisual C++
public override bool CanConvertFrom(
	ITypeDescriptorContext context,
	Type sourceType
)
Public Overrides Function CanConvertFrom ( _
	context As ITypeDescriptorContext, _
	sourceType As Type _
) As Boolean
public:
virtual bool CanConvertFrom(
	ITypeDescriptorContext^ context, 
	Type^ sourceType
) override
Parameters
context (ITypeDescriptorContext)
An ITypeDescriptorContext that provides a format context.
sourceType (Type)
A Type that represents the type you want to convert from.
Return Value
true if this converter can perform the conversion; otherwise, false.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)