particles Property
Returns a collection of some combination of the following objects: ISchemaElement, ISchemaModelGroup, and ISchemaAny.
The types of items in the collection are specified in the itemType property of the ISchemaItem interface. The following table shows each itemType and its corresponding collection content.
| ISchema.itemType value | Content objects |
|---|---|
| SOMITEM_ALL | A collection of one or more ISchemaElement objects. |
| SOMITEM_CHOICE | A collection of one or more of the following objects: ISchemaElement, ISchemaModelGroup, and ISchemaAny. Each of these objects can occur zero or more times in the collection. |
| SOMITEM_SEQUENCE | A collection of one or more of the following objects: ISchemaElement, ISchemaModelGroup, and ISchemaAny. Each of these objects can occur zero or more times in the collection. |
[Script]
Implementation Syntax
var oParticles = oISchemaModelGroup.particles;
Parameters
None.
Return Values
- oParticles
- An object. The
ISchemaItemCollectionobject of one or more of the following objects:ISchemaElement,ISchemaModelGroup, andISchemaAny, if any.
[Visual Basic]
Implementation Syntax
Set oParticles = oISchemaModelGroup.particles
Parameters
None.
Return Values
- oParticles
- An object. The
ISchemaItemCollectionobject of one or more of the following objects:ISchemaElement,ISchemaModelGroup, andISchemaAny, if any.
[C/C++]
Implementation Syntax
HRESULT get_particles(ISchemaItemCollection** particles);
Parameters
- particles [out,retval]
- An object. The
ISchemaItemCollectionobject of one or more of the following objects:ISchemaElement,ISchemaModelGroup, andISchemaAny, if any.
Return Values
- S_OK
- The value returned if successful.
- E_POINTER
- The value returned if the
particlesobject 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
in the upper-left corner of the page.
See Also
ISchemaElement Interface | ISchemaComplexType contentModel Property | ISchemaAny Interface | ISchemaItem itemType Property
Applies to: ISchemaModelGroup Interface
