Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlSchemaParticle::MinOccurs Property

 

Gets or sets the minimum number of times the particle can occur.

Namespace:   System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

public:
property Decimal MinOccurs {
	Decimal get();
	void set(Decimal value);
}

Property Value

Type: System::Decimal

The minimum number of times the particle can occur. The default is 1.

The value can be an integer greater than or equal to zero. Set this attribute to zero to indicate that the attribute is optional.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft