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

attributes Property

Returns an attribute collection. This collection contains the attributes that are a part of the <complexType> declaration. You find other attribute properties by using the ISchemaAttribute interface with the items in the collection.

[Script]

Implementation Syntax

var oAttributes = oISchemaComplexType.attributes;

Parameters

None.

Return Values

oAttributes
An object. The collection of attributes declared. This collection contains objects that implement the ISchemaAttribute interface.
[Visual Basic]

Implementation Syntax

Set oAttributes = oISchemaComplexType.attributes

Parameters

None.

Return Values

oAttributes
An object. The collection of attributes declared. This collection contains objects that implement the ISchemaAttribute interface.
[C/C++]

Implementation Syntax

HERESULT get_attributes(ISchemaItemCollection** attributes);

Parameters

attributes [out,retval]
An object. The collection of attributes.

Return Values

S_OK
The value returned if successful.
E_POINTER
The value returned if the attributes collection is NULL.
E_FAIL
The value returned if something else is wrong.

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

See Also

attribute Element

Applies to: ISchemaComplexType Interface