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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.