See Also

IArguments Interface  | IArguments Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

ClearError Method

SpreadsheetGear.CustomFunctions Namespace > IArguments Interface : ClearError Method

Clears errors associated with the custom function which is currently being evaluated.

[Visual Basic]
Overridable Sub ClearError()
[C#]
virtual void ClearError();
[C++]
virtual void ClearError();
[C++/CLI]
virtual void ClearError();

Remarks

Typically, the first error seen in any argument to a custom function will be the result of the custom function. To override this behavior, call ClearError after finishing all access to function arguments.

Note: Accessing function arguments after calling ClearError will result in undefined behavior.

The recommended practice for overriding default error handling is to:

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IArguments Interface  | IArguments Members

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.