System.Xml.Schema.XmlSchemaElement.Constraints Property

Gets the collection of constraints on the element.

Syntax

[System.Xml.Serialization.XmlElement("unique", typeof(System.Xml.Schema.XmlSchemaUnique))]
[System.Xml.Serialization.XmlElement("key", typeof(System.Xml.Schema.XmlSchemaKey))]
[System.Xml.Serialization.XmlElement("keyref", typeof(System.Xml.Schema.XmlSchemaKeyref))]
public XmlSchemaObjectCollection Constraints { get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

Requirements

Namespace: System.Xml.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0