XmlSchemaParticle.MaxOccurs Property

Definition

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

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

Property Value

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

Remarks

The value can be an integer greater than or equal to zero.

Applies to