XmlSchemaParticle.MinOccurs Property

Definition

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

public:
 property System::Decimal MinOccurs { System::Decimal get(); void set(System::Decimal value); };
public decimal MinOccurs { get; set; }
member this.MinOccurs : decimal with get, set
Public Property MinOccurs As Decimal

Property Value

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

Remarks

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

Applies to