Checks whether the given type can be cast to the type.
[Visual Basic] Function CanCastTo( _ ByVal fromType As Type, _ ByVal o As Object _ ) As Boolean [C#] bool CanCastTo( Type fromType, object o ); [C++] bool CanCastTo( Type* fromType, Object* o ) = 0; [JScript] function CanCastTo( fromType : Type, o : Object ) : Boolean;
True if cast will succeed, otherwise false.
IRemotingTypeInfo Interface | IRemotingTypeInfo Members | System.Runtime.Remoting Namespace