Partager via


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
Méthode protégée OpenXmlElement Surchargé.  

Haut de page

Propriétés publiques

  Nom Description
Propriété publique ChildElements Gets all the child nodes of this element.
Propriété publique ExtendedAttributes Gets all extended attributes (attributes not defined in schema) of the element.
Propriété publique FirstChild Gets the first child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned.
Propriété publique HasAttributes Gets a boolean value indicating whether the current element has any attributes.
Propriété publique HasChildren Gets a value indicating whether this element has any child elements.
Propriété publique InnerText Gets the concatenated values of the node and all its children.
Propriété publique InnerXml Gets or sets the markup representing only the child nodes of this node.
Propriété publique LastChild Gets the last child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned.
Propriété publique LocalName Gets the local name of the node.
Propriété publique MCAttributes  
Propriété publique NamespaceDeclarations  
Propriété publique NamespaceUri  
Propriété publique OpenXmlElementContext Gets the OpenXmlEementContext.
Propriété publique OuterXml Gets the markup representing this element and all its child elements.
Propriété publique Parent Gets the parent of this element.
Propriété publique Prefix Gets the namespace prefix of this node.
Propriété publique XmlQualifiedName Gets the qualified name of the node.

Haut de page

Méthodes publiques

(voir aussi Méthodes protégées )

  Nom Description
Méthode publique AddAnnotation Adds an object to the annotation list of this OpenXmlElement.
Méthode publique AddNamespaceDeclaration  
Méthode publique Ancestors Surchargé.  
Méthode publique Annotation Surchargé.  
Méthode publique Annotations Surchargé.  
Méthode publique Append Surchargé.  
Méthode publique AppendChild Adds the specified element to the end of the list of child nodes, of this element.
Méthode publique ClearAllAttributes Clear all the attributes ( known attributes + extended attributes )
Méthode publique Clone Creates a duplicate of this node.
Méthode publique CloneNode When overridden in a derived class, creates a duplicate of the node.
Méthode publique Descendants Surchargé.  
Méthode publique Elements Surchargé.  
Méthode publique ElementsAfter Enumerate all the sibling elements after this elements in same parent.
Méthode publique ElementsBefore Enumerate all the sibling elements before this elements in same parent.
Méthode publique Equals  Surchargé. (hérité de Object)
Méthode publique GetAttribute Gets a Open XML attribute with the specifed tag name and namespace URI.
Méthode publique GetAttributes Get a copy of all the attributes
Méthode publique GetEnumerator Returns an enumerator that iterates through the child collection.
Méthode publique GetFirstChild Find the first child element in type T
Méthode publique GetHashCode  (hérité de Object)
Méthode publique GetType  (hérité de Object)
Méthode publique InsertAfter Inserts the specified element immediately after the specified reference element.
Méthode publique InsertAfterSelf Inserts the specified element immediately after this element.
Méthode publique InsertAt Inserts the specified element at the specified index in children.
Méthode publique InsertBefore Inserts the specified element immediately before the specified reference element.
Méthode publique InsertBeforeSelf Inserts the specified element immediately before this element.
Méthode publique IsAfter Determines if the current element appears after a specified element in document order.
Méthode publique IsBefore Determines if the current element appears before a specified element in document order.
Méthode publique LookupNamespace  
Méthode publique LookupPrefix  
Méthode publique NextSibling Surchargé.  
Méthode publique PrependChild Adds the specified element to the beginning of the list of child nodes for this element.
Méthode publique PreviousSibling Surchargé.  
Méthode publique Statique ReferenceEquals  (hérité de Object)
Méthode publique Remove Removes this element from its parent.
Méthode publique RemoveAllChildren Surchargé.  
Méthode publique RemoveAnnotations Surchargé.  
Méthode publique RemoveAttribute Remove the attribute from the element.
Méthode publique RemoveChild Removes specified child element.
Méthode publique RemoveNamespaceDeclaration  
Méthode publique ReplaceChild Replaces the child OpenXmlElement oldChild with newChild OpenXmlElement.
Méthode publique 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.
Méthode publique 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.
Méthode publique ToString  (hérité de Object)
Méthode publique WriteTo Saves the current node to the specified XmlWriter.

Haut de page

Méthodes protégées

  Nom Description
Méthode protégée Finalize  (hérité de Object)
Méthode protégée MemberwiseClone  (hérité de Object)

Haut de page

Implémentations d’interface explicites

  Nom Description
Implémentation d'interface explicite Méthode System.Collections.IEnumerable.GetEnumerator  

Haut de page

Voir aussi

Référence

OpenXmlElement, classe
DocumentFormat.OpenXml, espace de noms