OpenXmlAttribute OpenXmlAttribute OpenXmlAttribute Struct

Definition

Represents an Open XML attribute.

public struct OpenXmlAttribute : IEquatable<DocumentFormat.OpenXml.OpenXmlAttribute>
type OpenXmlAttribute = struct
Public Structure OpenXmlAttribute
Implements IEquatable(Of OpenXmlAttribute)
Inheritance
OpenXmlAttributeOpenXmlAttributeOpenXmlAttribute
Implements

Constructors

OpenXmlAttribute(String, String, String) OpenXmlAttribute(String, String, String) 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) OpenXmlAttribute(String, String, String, String) 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.

Properties

LocalName LocalName LocalName

Gets or sets the local name of the attribute.

NamespaceUri NamespaceUri NamespaceUri

Gets or sets the namespace URI of the current attribute.

Prefix Prefix Prefix

Gets or sets the namespace prefix of the current attribute.

Value Value Value

Gets or sets the text value of the attribute.

XmlQualifiedName XmlQualifiedName XmlQualifiedName

When overridden in a derived class, gets the qualified name of the attribute.

XName XName XName

Gets the qualified name of the current attribute.

Methods

Equals(OpenXmlAttribute) Equals(OpenXmlAttribute) Equals(OpenXmlAttribute)

Determines if this instance of an OpenXmlAttribute structure is equal to the specified instance of an OpenXmlAttribute structure.

Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified Object is a OpenXmlAttribute structure and if so, indicates whether it is equal to this instance of an OpenXmlAttribute structure.

GetHashCode() GetHashCode() GetHashCode()

Gets the hash code for this instance of an OpenXmlAttribute structure.

Operators

Equality(OpenXmlAttribute, OpenXmlAttribute) Equality(OpenXmlAttribute, OpenXmlAttribute) Equality(OpenXmlAttribute, OpenXmlAttribute)

Determines if two instances of OpenXmlAttribute structures are equal.

Inequality(OpenXmlAttribute, OpenXmlAttribute) Inequality(OpenXmlAttribute, OpenXmlAttribute) Inequality(OpenXmlAttribute, OpenXmlAttribute)

Determines if two instances of OpenXmlAttribute structures are not equal.

Applies to