ISchemaAttributeGroup Interface

MSXML 5.0 SDK

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

ISchemaAttributeGroup Interface

Provides information about attribute groups. This interface provides the attributes and the <anyAttribute> element that are included in the <attributeGroup> declaration. The ISchemaAttributeGroup objects are returned from the attributeGroups property of the ISchema interface.

Properties

anyAttribute Retrieves an ISchemaAny object with information about the <anyAttribute> element.
attributes Retrieves the collection of attributes declared. The collection contains objects that implement the ISchemaAttribute interface.

[Script]

Implementation Syntax

var oAttributeGroups = oSchema.attributeGroups;
var oAttributeGroup = oAttributeGroups(index);

Parameters

index
A long integer. An index of the item within the collection. The first item is zero.
[Visual Basic]

Implementation Syntax

Set oAttributeGroups = oSchema.attributeGroups
Set oAttributeGroup = oAttributeGroups(index)

Parameters

index
A long integer. An index of the item within the collection. The first item is zero.
[C/C++]

Implementation Syntax

HRESULT get_attributeGroups(ISchemaItemCollection** attributeGroups);
HRESULT attributeGroups->get_item(
    long index,
    ISchemaAttributeGroup** attributeGroup);

Parameters

index
A long integer. An index of the item within the collection. The first item is zero.

Versioning

MSXML 4.0 and later

Requirements

[Visual Basic, C/C++]

Implementation: msxml5.dll, msxml2.lib

[C/C++]

Header and LIB files: msxml2.h, msxml2.lib, msxml2.idl

Inheritance: Inherits from the ISchemaItem interface.

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

SOM Reference | ISchema attributeGroups Property | XML Schema Reference (XSD) | attributeGroup Element | Attribute Groups