This member of RFError Object is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.
The ClearError method allows you to clear the RFError object of any error messages.
VB
bStatus = object.ClearError ()
VC++
HRESULT hr = object->ClearError(BOOL *bStatus);
Return Value
|
bStatus |
The status of the function returned as Boolean True or False values. |
Remarks
Once defined, an error message will remain within an RFError object until either the object is released, a new message is defined over an existing line of the error message using SetErrorLine Method, or all message lines are cleared using ClearError. This allows you to use a single error object within your application that may be modified for each error message rather than creating a new error object for each individual error message.
Example
See the Display Method.
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other