Returns a variant of type VT_BSTR that represents the minimum number of times that an item can occur in a document. A value of zero indicates that the item is optional.
The following is an example of the minOccurs
attribute used in an XML Schema.
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<complexType name="someelement">
<choice>
<element name="book" minOccurs
="1" maxOccurs="4"/>
<element name="magazine" minOccurs="1" maxOccurs="1"/>
</choice>
</complexType>
</schema>
var varMinOccurs = oISchemaParticle.minOccurs;
None.
varMinOccurs = oISchemaParticle.minOccurs
None.
HRESULT get_minOccurs(VARIANT* minOccurs);
minOccurs
parameter 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.
ISchemaParticle maxOccurs Property | element Element
Applies to: ISchemaParticle Interface