RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomVariantType.RaiseInvalidOp Method

Generates a system error indicating an invalid operation.

Pascal
procedure RaiseInvalidOp;
C++
__fastcall RaiseInvalidOp();

Call RaiseInvalidOp from the implementation of a TCustomVariantType descendant when it can't perform an operation. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!