Share via


Unique Element Binding SupportĀ 

The .NET Framework does not provide binding support for the <unique> element.

When generating source code from an XML Schema document, Xsd.exe ignores the <unique> element.

Explanation

The XML Schema definition language mechanisms for establishing uniqueness and referential integrity do not have bindings to class definitions in the .NET Framework. When generating source code from an XML Schema document, Xsd.exe ignores the related elements.

Possible Attributes Binding Support

id

Since the .NET Framework does not bind the <unique> element, it does not bind the element's attributes.

name

Since the .NET Framework does not bind the <unique> element, it does not bind the element's attributes.

See the Name Attribute Binding Support attribute.

Possible parent elements: <element>

Possible child elements: <annotation>, <field>, <selector>

See Also

Reference

XmlSchemaUnique