clear Method

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SAX2 Reference

clear Method

Clears the attribute list for reuse.

[Visual Basic]

Implementation Syntax

Sub clear()

Usage Syntax

oIMXAttributes.clear
[C/C++]

Syntax

HRESULT clear();

Return Values

S_OK
The value returned if no errors are reported.
E_FAIL
There is only one specific fatal error for this IMXAttributes implementation: setAttribute with incorrect index (E_INVALIDARG). It may return a generic failure code, such as out-of-memory.

Remarks

This call does not free memory. The current arrays are kept for reuse.

To view reference material for Visual Basic or C++ only, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

Applies to: IMXAttributes Interface