OpenXmlElement Properties

Include Protected Members
Include Inherited Members

The OpenXmlElement type exposes the following members.

Properties

  Name Description
Public property ChildElements Gets all the child nodes of this element.
Public property ExtendedAttributes Gets all extended attributes (attributes not defined in schema) of the element.
Public property FirstChild Gets the first child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned.
Public property HasAttributes Gets a boolean value indicating whether the current element has any attributes.
Public property HasChildren Gets a value indicating whether this element has any child elements.
Public property InnerText Gets the concatenated values of the node and all its children.
Public property InnerXml Gets or sets the markup representing only the child nodes of this node.
Public property LastChild Gets the last child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned.
Public property LocalName Gets the local name of the node.
Public property MCAttributes Markup Compatibility Attributes Set. Return null if there is no Markup Compatibility Attribute defined in this element.
Public property NamespaceDeclarations Gets all the namespace declarations defined in the current element. Return an empty enumerator if there is no namespace declaration.
Public property NamespaceUri Gets the namespace URI of this node.
Public property OpenXmlElementContext Gets the OpenXmlEementContext.
Public property OuterXml Gets the markup representing this element and all its child elements.
Public property Parent Gets the parent of this element.
Public property Prefix Gets the namespace prefix of this node.
Public property XmlQualifiedName Gets the qualified name of the node.

Top

See Also

Reference

OpenXmlElement Class

DocumentFormat.OpenXml Namespace