XmlSchemaParticle.MinOccurs Propriedade

Definição

Obtém ou define o número mínimo de vezes que a partícula pode ocorrer.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

Valor da propriedade

Decimal

O número mínimo de vezes que a partícula pode ocorrer.The minimum number of times the particle can occur. O padrão é 1.The default is 1.

Comentários

O valor pode ser um inteiro maior ou igual a zero.The value can be an integer greater than or equal to zero. Defina esse atributo como zero para indicar que o atributo é opcional.Set this attribute to zero to indicate that the attribute is optional.

Aplica-se a