setAttributes Method

 

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

Visual Basic Implementation Syntax

Sub setAttributes
(varAtts)  

Visual Basic 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.

Versioning

Implemented in: MSXML 3.0 and later

Applies to

IMXAttributes Interface