XmlSchemaElement.Form Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the form for the element.
public:
property System::Xml::Schema::XmlSchemaForm Form { System::Xml::Schema::XmlSchemaForm get(); void set(System::Xml::Schema::XmlSchemaForm value); };
public System.Xml.Schema.XmlSchemaForm Form { get; set; }
member this.Form : System.Xml.Schema.XmlSchemaForm with get, set
Public Property Form As XmlSchemaForm
Property Value
The form for the element. The default is the ElementFormDefault value. Optional.
Remarks
The default value is the value of the elementFormDefault
attribute for the schema
element containing the element. The default is Unqualified
.
Enum | Description |
---|---|
Qualified |
Element must be qualified with the namespace prefix. |
Unqualified |
Element is not required to be qualified with the namespace prefix. |
The value cannot be set if the containing element is the schema
element.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET