Share via


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.

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.

JScript 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 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++ 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.

Requirements

Implementation: msxml6.lib

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

Inheritance: Inherits from the ISchemaItem interface.

Versioning

Implemented in: MSXML 6.0

See Also

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