SchemaAttrAttribute 构造函数

定义

重载

SchemaAttrAttribute(String)
SchemaAttrAttribute(Byte, String)
已过时.

初始化 SchemaAttrAttribute 的新实例。

SchemaAttrAttribute(String, String)

初始化 SchemaAttrAttribute 的新实例。

SchemaAttrAttribute(String)

public SchemaAttrAttribute (string qname);
new DocumentFormat.OpenXml.SchemaAttrAttribute : string -> DocumentFormat.OpenXml.SchemaAttrAttribute
Public Sub New (qname As String)

参数

qname
String

适用于

SchemaAttrAttribute(Byte, String)

注意

The namespace id is no longer tracked and will be removed in future release.

初始化 SchemaAttrAttribute 的新实例。

public SchemaAttrAttribute (byte nsId, string tag);
[System.Obsolete("The namespace id is no longer tracked and will be removed in future release.")]
public SchemaAttrAttribute (byte nsId, string tag);
new DocumentFormat.OpenXml.SchemaAttrAttribute : byte * string -> DocumentFormat.OpenXml.SchemaAttrAttribute
[<System.Obsolete("The namespace id is no longer tracked and will be removed in future release.")>]
new DocumentFormat.OpenXml.SchemaAttrAttribute : byte * string -> DocumentFormat.OpenXml.SchemaAttrAttribute
Public Sub New (nsId As Byte, tag As String)

参数

nsId
Byte

指定架构特性的命名空间 ID。

tag
String

指定架构属性的标记名称。

属性

注解

一旦可以删除 ID 的概念,就会删除此概念。 请使用 SchemaAttrAttribute(String, String)

适用于

SchemaAttrAttribute(String, String)

初始化 SchemaAttrAttribute 的新实例。

public SchemaAttrAttribute (string ns, string tag);
new DocumentFormat.OpenXml.SchemaAttrAttribute : string * string -> DocumentFormat.OpenXml.SchemaAttrAttribute
Public Sub New (ns As String, tag As String)

参数

ns
String

指定架构属性的命名空间。

tag
String

指定架构属性的标记名称。

适用于