XmlSchemaElement.Constraints 属性

定义

获取对元素的约束的集合。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

属性值

XmlSchemaObjectCollection

约束的集合。The collection of constraints.

注解

返回元素上的约束的集合。Returns a collection of constraints on the element. 可以是、或中的任何一个 XmlSchemaKey XmlSchemaKeyref XmlSchemaUniqueCan be any of XmlSchemaKey, XmlSchemaKeyref, or XmlSchemaUnique.

适用于