共用方式為


OpenXmlAttribute Constructors

Definition

Overloads

OpenXmlAttribute(String, String, String)

Initializes a new instance of the OpenXmlAttribute structure using the supplied qualified name, namespace URI, and text value.

OpenXmlAttribute(String, String, String, String)

Initializes a new instance of the OpenXmlAttribute structure using the supplied namespace prefix, local name, namespace URI, and text value.

OpenXmlAttribute(String, String, String)

Initializes a new instance of the OpenXmlAttribute structure using the supplied qualified name, namespace URI, and text value.

public OpenXmlAttribute (string qualifiedName, string namespaceUri, string value);
public OpenXmlAttribute (string qualifiedName, string namespaceUri, string? value);
new DocumentFormat.OpenXml.OpenXmlAttribute : string * string * string -> DocumentFormat.OpenXml.OpenXmlAttribute
Public Sub New (qualifiedName As String, namespaceUri As String, value As String)

Parameters

qualifiedName
String

The qualified attribute name.

namespaceUri
String

The namespace URI of the attribute.

value
String

The text value of the attribute.

Applies to

OpenXmlAttribute(String, String, String, String)

Initializes a new instance of the OpenXmlAttribute structure using the supplied namespace prefix, local name, namespace URI, and text value.

public OpenXmlAttribute (string prefix, string localName, string namespaceUri, string value);
public OpenXmlAttribute (string prefix, string localName, string namespaceUri, string? value);
new DocumentFormat.OpenXml.OpenXmlAttribute : string * string * string * string -> DocumentFormat.OpenXml.OpenXmlAttribute
Public Sub New (prefix As String, localName As String, namespaceUri As String, value As String)

Parameters

prefix
String

The namespace prefix of the attribute.

localName
String

The local name of the attribute.

namespaceUri
String

The namespace URI of the attribute.

value
String

The text value of the attribute.

Applies to