XmlSchemaElement.Constraints 屬性

定義

取得元素上的約束集合。

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

屬性值

約束條件的集合。

備註

回傳元素的一組約束。 可以是 、 XmlSchemaKey、 或 XmlSchemaKeyref中的任一XmlSchemaUnique

適用於