notation 元素绑定支持

本主题专门介绍一项旧有技术。现在应通过使用以下链接来创建 XML Web 服务和 XML Web 服务客户端: Windows Communication Foundation.

.NET Framework 不为 <notation> 元素提供绑定支持。

当从 XML 架构文档生成源代码时,Xsd.exe 会忽略 <notation> 元素。

说明

当从 XML 架构文档生成源代码时,Xsd.exe 会忽略 <notation> 元素。但是,这不会阻止 Xsd.exe 使用 value 特性值与 <notation> 元素的 name 特性值相同的 <enumeration> 元素。

可能的特性 绑定支持

id

由于 .NET Framework 不绑定 <notation> 元素,因此它不绑定该元素的特性。

name

由于 .NET Framework 不绑定 <notation> 元素,因此它不绑定该元素的特性。

public

由于 .NET Framework 不绑定 <notation> 元素,因此它不绑定该元素的特性。

system

由于 .NET Framework 不绑定 <notation> 元素,因此它不绑定该元素的特性。

可能的父元素:<schema>

可能的子元素:<annotation>

另请参见

参考

XmlSchemaNotation