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: Windows 2000, Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008. SpreadsheetGear 2008 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.