System.Xml.Schema.XmlSchemaAttribute.Use Property

Gets or sets information about how the attribute is used.

Syntax

[System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[System.Xml.Serialization.XmlAttribute("use")]
public XmlSchemaUse Use { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

If specified, this attribute must have one of the values shown in the following table.

None

Attribute has no value.

Prohibited

Attribute cannot be used.

Optional

Attribute is optional and may have any value. This is the default.

Required

Attribute must appear once.

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