XmlSchemaElement.RefName 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定在這個結構描述 (或指定的命名空間指示的其他結構描述) 中宣告的元素的參考名稱。
public:
property System::Xml::XmlQualifiedName ^ RefName { System::Xml::XmlQualifiedName ^ get(); void set(System::Xml::XmlQualifiedName ^ value); };
public System.Xml.XmlQualifiedName RefName { get; set; }
member this.RefName : System.Xml.XmlQualifiedName with get, set
Public Property RefName As XmlQualifiedName
屬性值
元素的參考名稱。
備註
RefName必須是 QName。 RefName可以包含命名空間前置詞。 如果 RefName 屬性存在,則所有 complexType 、 simpleType 、 key 、 keyref 、 unique fixed default form nillable block 和 type 都必須不存在。 如果 RefName 存在, minOccurs 則允許 、 maxOccurs 和 id 。 若要使用現有的專案定義來宣告專案,請使用 RefName 屬性來指定現有的專案定義。
如果包含的專案是 schema 元素,則無法設定值。