Partager via


Selector Element Binding Support 

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

When generating source code from an XML Schema document, Xsd.exe ignores the <selector> 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 <selector> element, it does not bind the element's attributes.

xpath

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

Possible parent elements: <key>, <keyref>, <unique>

Possible child elements: <annotation>

See Also

Reference

XmlSchemaIdentityConstraint
XmlSchemaKey
XmlSchemaKeyref
XmlSchemaUnique