setAttributes Method

MSXML 5.0 SDK

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

setAttributes Method

Copies all existing attributes of a collection to a specified object.

[Visual Basic]

Implementation Syntax

Sub setAttributes(varAtts)

Usage Syntax

oIMXAttributes.setAttribute(varAtts)
[C/C++]

Syntax

HRESULT setAttributes(IMXAttributes * varAtts);

Return Values

S_OK
The value returned if no errors are reported.

Parameters

varAtts
The variant attribute collection.

Remarks

It may be more efficient to reuse an existing object rather than allocating a new one.

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