RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
XMLDoc.XMLDocError Function

Raises an EXMLDocError exception.

Pascal
procedure XMLDocError(const Msg: string); overload;
procedure XMLDocError(const Msg: string; const Args: array of const); overload;
C++
XMLDocError(const AnsiString Msg);
XMLDocError(const AnsiString Msg, const array of const Args);

XMLDoc

Call XMLDocError to raise an EXMLDocError exception. Using XMLDocError rather than explicitly creating the EXMLDocError instance can result in more space-efficient code.  

Msg is the error message associated with the EXMLDocError instance. 

Args supplies arguments for any format specifiers embedded in Msg.

Note: Args_Size is the index of the last entry in the Args array. That is one less than the total number of arguments.
 

 

EXMLDocError

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