OpenXmlAttribute Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an Open XML attribute.
public struct OpenXmlAttribute : IEquatable<DocumentFormat.OpenXml.OpenXmlAttribute>
public readonly struct OpenXmlAttribute : IEquatable<DocumentFormat.OpenXml.OpenXmlAttribute>
type OpenXmlAttribute = struct
Public Structure OpenXmlAttribute
Implements IEquatable(Of OpenXmlAttribute)
- Inheritance
-
OpenXmlAttribute
- Implements
Constructors
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. |
Properties
LocalName |
Obsolete.
Gets the local name of the attribute. |
NamespaceUri |
Obsolete.
Gets the namespace URI of the current attribute. |
Prefix |
Obsolete.
Gets the namespace prefix of the current attribute. |
Value |
Obsolete.
Gets the text value of the attribute. |
XmlQualifiedName |
Gets the qualified name of the attribute. |
XName |
Gets the qualified name of the current attribute. |
Methods
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. |
Equals(OpenXmlAttribute) |
Determines if this instance of an OpenXmlAttribute structure is equal to the specified instance of an OpenXmlAttribute structure. |
GetHashCode() |
Gets the hash code for this instance of an OpenXmlAttribute structure. |
Operators
Equality(OpenXmlAttribute, OpenXmlAttribute) |
Determines if two instances of OpenXmlAttribute structures are equal. |
Inequality(OpenXmlAttribute, OpenXmlAttribute) |
Determines if two instances of OpenXmlAttribute structures are not equal. |