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.CanConvertTo (Type)

Gets a value indicating whether this converter can convert an object to the given destination type.

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

Parameters

destinationType
A Type that represents the type you wish to convert to.

Return Value

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

See Also

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