Click or drag to resize

OpenXmlAttribute Structure

Represents an Open XML attribute.
Inheritance Hierarchy
SystemObject
  SystemValueType
    DocumentFormat.OpenXmlOpenXmlAttribute

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public struct OpenXmlAttribute : IEquatable<OpenXmlAttribute>

The OpenXmlAttribute type exposes the following members.

Constructors
 NameDescription
Public methodOpenXmlAttribute(String, String, String) Initializes a new instance of the OpenXmlAttribute structure using the supplied qualified name, namespace URI, and text value.
Public methodOpenXmlAttribute(String, String, String, String) Initializes a new instance of the OpenXmlAttribute structure using the supplied namespace prefix, local name, namespace URI, and text value.
Top
Properties
 NameDescription
Public propertyLocalName Gets or sets the local name of the attribute.
Public propertyNamespaceUri Gets or sets the namespace URI of the current attribute.
Public propertyPrefix Gets or sets the namespace prefix of the current attribute.
Public propertyValue Gets or sets the text value of the attribute.
Public propertyXmlQualifiedName Gets the qualified name of the attribute.
Public propertyXName Gets the qualified name of the current attribute.
Top
Methods
 NameDescription
Public methodEquals(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.
(Overrides ValueTypeEquals(Object))
Public methodEquals(OpenXmlAttribute) Determines if this instance of an OpenXmlAttribute structure is equal to the specified instance of an OpenXmlAttribute structure.
Public methodGetHashCode Gets the hash code for this instance of an OpenXmlAttribute structure.
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(OpenXmlAttribute, OpenXmlAttribute) Determines if two instances of OpenXmlAttribute structures are equal.
Public operatorStatic memberInequality(OpenXmlAttribute, OpenXmlAttribute) Determines if two instances of OpenXmlAttribute structures are not equal.
Top
See Also