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

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

Overload List

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

[Visual Basic] Overloads Overridable Public Function CanConvertTo(ITypeDescriptorContext, Type) As Boolean
[C#] public virtual bool CanConvertTo(ITypeDescriptorContext, Type);
[C++] public: virtual bool CanConvertTo(ITypeDescriptorContext*, Type);
[JScript] public function CanConvertTo(ITypeDescriptorContext, Type) : Boolean;

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

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

See Also

TypeConverter Class | TypeConverter Members | System.ComponentModel Namespace