共用方式為


SchemaAttrAttribute Constructors

Definition

Overloads

SchemaAttrAttribute(String)
SchemaAttrAttribute(Byte, String)
Obsolete.

Initializes a new instance of the SchemaAttrAttribute.

SchemaAttrAttribute(String, String)

Initializes a new instance of the SchemaAttrAttribute.

SchemaAttrAttribute(String)

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

Parameters

qname
String

Applies to

SchemaAttrAttribute(Byte, String)

Caution

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

Initializes a new instance of the 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)

Parameters

nsId
Byte

Specifies the namespace Id of the schema attribute.

tag
String

Specifies the Tag name of the schema attribute.

Attributes

Remarks

This will be removed once the concept of id can be removed. Please use SchemaAttrAttribute(String, String)

Applies to

SchemaAttrAttribute(String, String)

Initializes a new instance of the 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)

Parameters

ns
String

Specifies the namespace of the schema attribute.

tag
String

Specifies the Tag name of the schema attribute.

Applies to