Throws an InvalidCastException. Called by the ToType method.
[Visual Basic] Overridable Public Function ToUInt32() As UInt32 [C#] public virtual uint ToUInt32(); [C++] public: virtual unsigned int ToUInt32(); [JScript] public function ToUInt32() : UInt32;
None, but the return value is typed uint to implement the IConvertible interface.
Exception Type | Condition |
---|---|
InvalidCastException | (Always thrown.) |
If the ToType type is a uint this method is called. This method throws an InvalidCastException().
DBNull Class | DBNull Members | System Namespace | ToType | IConvertible | Type | UInt32