XmlSchemaParticle.MaxOccursString Property


Gets or sets the number as a string value. Maximum number of times the particle can occur.

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

public string MaxOccursString { get; set; }

Property Value

Type: System.String

The number as a string value. String.Empty indicates that MaxOccurs is equal to the default value. The default is a null reference.

This property can have a null ("") value or String.Empty.

To set no limit on the maximum number, use the string "unbounded".

.NET Framework
Available since 1.1
Return to top