System.Xml.Schema.XmlSchema.ElementFormDefault Property

Gets or sets the form for elements declared in the target namespace of the schema.

Syntax

[System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[System.Xml.Serialization.XmlAttribute("elementFormDefault")]
public XmlSchemaForm ElementFormDefault { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The value must be one of the System.Xml.Schema.XmlSchemaForm values shown in the following table.

XmlSchemaForm.None

The element form is not specified in the schema.

XmlSchemaForm.Qualified

Elements from the target namespace must be qualified with the namespace prefix.

XmlSchemaForm.Unqualified

Elements from the target namespace are not required to be qualified with the namespace prefix.

This value is the global default for all elements declared in the target namespace. Individual elements can override this setting for the local scope by using the form attribute.

Requirements

Namespace: System.Xml.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0