Membres OpenXmlElement
Defines the OpenXmlElement - base class for all elements in Open XML document.
Les tableaux suivants répertorient les membres exposés par le type OpenXmlElement .
Constructeurs protégés
Nom | Description | |
---|---|---|
OpenXmlElement | Surchargé. |
Haut de page
Propriétés publiques
Nom | Description | |
---|---|---|
ChildElements | Gets all the child nodes of this element. | |
ExtendedAttributes | Gets all extended attributes (attributes not defined in schema) of the element. | |
FirstChild | Gets the first child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. | |
HasAttributes | Gets a boolean value indicating whether the current element has any attributes. | |
HasChildren | Gets a value indicating whether this element has any child elements. | |
InnerText | Gets the concatenated values of the node and all its children. | |
InnerXml | Gets or sets the markup representing only the child nodes of this node. | |
LastChild | Gets the last child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. | |
LocalName | Gets the local name of the node. | |
MCAttributes | ||
NamespaceDeclarations | ||
NamespaceUri | ||
OpenXmlElementContext | Gets the OpenXmlEementContext. | |
OuterXml | Gets the markup representing this element and all its child elements. | |
Parent | Gets the parent of this element. | |
Prefix | Gets the namespace prefix of this node. | |
XmlQualifiedName | Gets the qualified name of the node. |
Haut de page
Méthodes publiques
(voir aussi Méthodes protégées )
Nom | Description | |
---|---|---|
AddAnnotation | Adds an object to the annotation list of this OpenXmlElement. | |
AddNamespaceDeclaration | ||
Ancestors | Surchargé. | |
Annotation | Surchargé. | |
Annotations | Surchargé. | |
Append | Surchargé. | |
AppendChild | Adds the specified element to the end of the list of child nodes, of this element. | |
ClearAllAttributes | Clear all the attributes ( known attributes + extended attributes ) | |
Clone | Creates a duplicate of this node. | |
CloneNode | When overridden in a derived class, creates a duplicate of the node. | |
Descendants | Surchargé. | |
Elements | Surchargé. | |
ElementsAfter | Enumerate all the sibling elements after this elements in same parent. | |
ElementsBefore | Enumerate all the sibling elements before this elements in same parent. | |
Equals | Surchargé. (hérité de Object) | |
GetAttribute | Gets a Open XML attribute with the specifed tag name and namespace URI. | |
GetAttributes | Get a copy of all the attributes | |
GetEnumerator | Returns an enumerator that iterates through the child collection. | |
GetFirstChild | Find the first child element in type T | |
GetHashCode | (hérité de Object) | |
GetType | (hérité de Object) | |
InsertAfter | Inserts the specified element immediately after the specified reference element. | |
InsertAfterSelf | Inserts the specified element immediately after this element. | |
InsertAt | Inserts the specified element at the specified index in children. | |
InsertBefore | Inserts the specified element immediately before the specified reference element. | |
InsertBeforeSelf | Inserts the specified element immediately before this element. | |
IsAfter | Determines if the current element appears after a specified element in document order. | |
IsBefore | Determines if the current element appears before a specified element in document order. | |
LookupNamespace | ||
LookupPrefix | ||
NextSibling | Surchargé. | |
PrependChild | Adds the specified element to the beginning of the list of child nodes for this element. | |
PreviousSibling | Surchargé. | |
ReferenceEquals | (hérité de Object) | |
Remove | Removes this element from its parent. | |
RemoveAllChildren | Surchargé. | |
RemoveAnnotations | Surchargé. | |
RemoveAttribute | Remove the attribute from the element. | |
RemoveChild | Removes specified child element. | |
RemoveNamespaceDeclaration | ||
ReplaceChild | Replaces the child OpenXmlElement oldChild with newChild OpenXmlElement. | |
SetAttribute | Set an attribute to the element. If the attribute is a known attribute, the value of the attribute is set. If the attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list. | |
SetAttributes | Set a bunch of attributes to the element. If a attribute is a known attribute, the value of the attribute is set. If a attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list. | |
ToString | (hérité de Object) | |
WriteTo | Saves the current node to the specified XmlWriter. |
Haut de page
Méthodes protégées
Nom | Description | |
---|---|---|
Finalize | (hérité de Object) | |
MemberwiseClone | (hérité de Object) |
Haut de page
Implémentations d’interface explicites
Nom | Description | |
---|---|---|
System.Collections.IEnumerable.GetEnumerator |
Haut de page
Voir aussi
Référence
OpenXmlElement, classe
DocumentFormat.OpenXml, espace de noms