Bewerken

Share via


XmlSchemaElement.Form Property

Definition

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