System.Xml.Schema.XmlSchema.AttributeFormDefault Property

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

Syntax

[System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[System.Xml.Serialization.XmlAttribute("attributeFormDefault")]
public XmlSchemaForm AttributeFormDefault { 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 attribute form is not specified in schema.

XmlSchemaForm.Qualified

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

XmlSchemaForm.Unqualified

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

This value is the global default for all attributes declared in the target namespace. Individual attributes can override this setting for the local scope 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