共用方式為


Advanced XML Schema Definition Language Attributes Binding Support

Binding support refers to the following:

  • Definition bindings between classes and XSD documents via the Xsd.exe tool.

  • Run-time bindings between objects and XML instance documents via the XmlSerializer class.

In This Section

For most of the attributes in the XML Schema definition language, .NET Framework binding support is covered in the associated XML Schema element topics. For example, the use attribute is discussed with the Attribute Element Binding Support.

The topics in this section involve XML Schema definition language attributes that require their own explanation, typically because that explanation is intertwined between multiple elements. The topics are:

For binding support for attributes from the XML Schema Instance namespace, see XML Schema Instance Namespace Binding Support.

Binding Support by Attribute

The following table lists all XSD attributes, with their level of binding support and links to the relevant topics.

Attribute Binding support Related topics

abstract

Supported.

Topics here.

attributeFormDefault

Partially supported.

Topics here.

base

Partially supported.

Topics here.

block

Not supported.

Topics here.

blockDefault

Not supported.

Topics here.

default

Partially supported.

Topics here.

elementFormDefault

Partially supported.

Topics here.

final

Not supported.

Topics here.

finalDefault

Not supported.

Topics here.

fixed

Limited support.

Topics here.

form

Supported.

Topics here.

id

Not supported.

Topics here.

itemType

Limited support.

Topics here.

xml:lang

Not supported.

Topics here.

maxOccurs

Limited support.

Topics here.

memberTypes

Not supported.

Topics here.

minOccurs

Limited support.

Topics here.

mixed

Partially supported.

Topics here.

name

Partially supported.

Topics here.

namespace

Partially supported.

Topics here.

nillable

Partially supported.

Topics here.

processContents

Not supported.

Topics here.

public

Not supported.

Topics here.

ref

Partially supported.

Topics here.

refer

Not supported.

Topics here.

schemaLocation

Partially supported.

Topics here.

source

Not supported.

Topics here.

substitutionGroup

Not supported.

Topics here.

system

Not supported.

Topics here.

targetNamespace

Supported.

Topics here.

type

Supported.

Topics here.

use

Partially supported.

Topics here.

value

Not supported.

Topics here.

version

Not supported.

Topics here.

xpath

Not supported.

Topics here.