attributes Property

MSXML 5.0 SDK

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

attributes Property

Returns a collection of attributes that are declared in the attribute group declaration. Use the ISchemaAttribute interface to get information from individual attributes in the collection.

[Script]

Implementation Syntax

var oAttributes = oISchemaAttributeGroup.attributes;

Parameters

None.

Return Values

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

Implementation Syntax

Set oAttributes = oISchemaAttributeGroup.attributes

Parameters

None.

Return Values

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

Implementation Syntax

HRESULT 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 object 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

ISchemaAttribute Interface | Attribute Groups | attributeGroup Element

Applies to: ISchemaAttributeGroup Interface