XmlSchemaParticle.MaxOccurs 属性

定义

获取或设置粒子可发生的最大次数。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

属性值

Decimal

粒子可发生的最大次数。The maximum number of times the particle can occur. 默认值为 1。The default is 1.

注解

该值可以是大于或等于零的整数。The value can be an integer greater than or equal to zero.

适用于