Delen via


Keyref Element Binding Support

This topic is specific to a legacy technology. XML Web services and XML Web service clients should now be created using Windows Communication Foundation.

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

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

name

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

refer

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

Possible parent elements: <element>

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

See Also

Reference

XmlSchemaKeyref