Returns an ISchemaItemCollection that contains ISchemaModelGroup objects. The model group will contain any combination of the following objects: ISchemaElement, ISchemaModelGroup, and ISchemaAny.
To obtain information about the objects returned in the collection, use the itemType property to determine the correct interface to use. For more information about the use of model groups in an XML schema, see Content Models and Named Model Groups, in the XML Schema Developer's Guide.
var oModelGroups = oISchema.modelGroups;
None.
<modelGroup> declarations. This collection contains objects that implement the ISchemaModelGroup interface.Set oModelGroups = oISchema.modelGroups
None.
<modelGroup> declarations. This collection contains objects that implement the ISchemaModelGroup interface.HRESULT get_modelGroups (ISchemaItemCollection** modelGroups);
<modelGroup> declarations.modelGroups collection is NULL.To view reference information for Visual Basic or C/C++ only, click the Language Filter button
in the upper-left corner of the page.
ISchemaItemCollection Interface | ISchemaModelGroup Interface
Applies to: ISchema Interface