Visual Basic (Declaration) | |
---|---|
Sub ClearError() |
C# | |
---|---|
void ClearError() |
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:
- Finish all access to arguments.
- Call ClearError.
- Set the return value.
Requirements
Platforms: x86 and x64 versions of Windows 2000, Windows XP, Windows Vista, Windows 7, Windows Server 2003 (including R2) and Windows Server 2008 (including R2). SpreadsheetGear 2009 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.