ISchemaAttributeGroup Interface

 

[This feature was only implemented for MSXML 6.0.]

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.

anyAttributeRetrieves an ISchemaAny object with information about the <anyAttribute> element.
attributesRetrieves the collection of attributes declared. The collection contains objects that implement the ISchemaAttribute interface.
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.

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.

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.

Implementation: msxml6.lib

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

Inheritance: Inherits from the ISchemaItem interface.

Implemented in: MSXML 6.0

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

Show: