NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TypeConverter.CanConvertFrom (Type)

Determines if this converter can convert an object in the given source type to the native type of the converter.

[Visual Basic]
Overloads Public Function CanConvertFrom( _
   ByVal sourceType As Type _
) As Boolean
[C#]
public bool CanConvertFrom(
   Type sourceType
);
[C++]
public: bool CanConvertFrom(
   Type* sourceType
);
[JScript]
public function CanConvertFrom(
   sourceType : Type
) : Boolean;

Parameters

sourceType
A Type that represents the type you wish to convert from.

Return Value

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

See Also

TypeConverter Class | TypeConverter Members | System.ComponentModel Namespace | TypeConverter.CanConvertFrom Overload List