XmlSchemaElement.Constraints Property

 

Gets the collection of constraints on the element.

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

public XmlSchemaObjectCollection Constraints { get; }

Property Value

Type: System.Xml.Schema.XmlSchemaObjectCollection

The collection of constraints.

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

.NET Framework
Available since 1.1
Return to top
Show: