XmlSchemaElement.Constraints Property

Definition

Gets the collection of constraints on the element.

public:
 property System::Xml::Schema::XmlSchemaObjectCollection ^ Constraints { System::Xml::Schema::XmlSchemaObjectCollection ^ get(); };
public System.Xml.Schema.XmlSchemaObjectCollection Constraints { get; }
member this.Constraints : System.Xml.Schema.XmlSchemaObjectCollection
Public ReadOnly Property Constraints As XmlSchemaObjectCollection

Property Value

The collection of constraints.

Remarks

Returns a collection of constraints on the element. Can be any of XmlSchemaKey, XmlSchemaKeyref, or XmlSchemaUnique.

Applies to