Append OpenXmlElement[]. Appends the specified element to the end of the current element's list of child nodes. Clears all of the attributes, including both known attributes and extended attributes. Creates a duplicate of the current node. CloneNode Boolean. Enumerates all of the current element's descendants. Enumerate all of the current element's descendants of type T.
Enumerates all of the current element's children. Enumerates only the current element's children that have the specified type. GetAttribute String, String. Gets a list that contains a copy of all the attributes.
Returns an enumerator that iterates through the child collection. Finds the first child element in type T. Inserts the specified element immediately after the specified reference element. Inserts the specified element immediately after the current element. Inserts the specified element at the specified index of the current element's children. Inserts the specified element immediately before the specified reference element.
Inserts the specified element immediately before the current element. IsAfter OpenXmlElement. Determines if the current element appears after a specified element in document order. IsBefore OpenXmlElement. Determines if the current element appears before a specified element in document order. Load MainDocumentPart.
LookupNamespace String. Resolves the namespace prefix in the context of the current node. LookupPrefix String. Finds the corresponding prefix for a namespace uri in the current element scope.
Inserts the specified element at the beginning of the current element's list of child nodes. Removes the current element from its parent. Removes all of the current element's child elements. Remove all of the current element's child elements that are of type T.
RemoveAnnotations Type. Removes the annotations of the specified type from the current OpenXmlElement element. Removes the annotations with the specified type from the current OpenXmlElement element.
RemoveAttribute String, String. Removes the attribute from the current element. Adds a new hyperlink relationship. Adds a new part of type T. Must use the returned part to operate on the part added to the document Inherited from OpenXmlPartContainer. AddThumbnailPart String. Annotation Type. Get the first annotation object of the specified type from this PartContainer. Annotations Type. Gets a collection of annotations of the specified type for this PartContainer. Changes the relationship ID of the part.
Clone Package. Clone Package, OpenSettings. Clone Stream. Clone Stream, Boolean. Clone Stream, Boolean, OpenSettings. Clone String. Clone String, Boolean. Clone String, Boolean, OpenSettings. Saves and closes the OpenXml package and all underlying part streams.
Create Package, SpreadsheetDocumentType. Creates a new instance of the SpreadsheetDocument class from the spcified package. Create Stream, SpreadsheetDocumentType. Creates a new instance of the SpreadsheetDocument class from the IO stream. Create String, SpreadsheetDocumentType.
Creates a new instance of the SpreadsheetDocument class from the specified file. CreateClone Package. Creates a new instance of OpenXmlPackage on the specified instance of Package. CreateClone Stream. CreateClone String. CreateFromTemplate String. CreateMediaDataPart String. Adds a relationship for the specified part to this part. DeleteExternalRelationship ExternalRelationship.
Deletes the specified external relationship. DeleteExternalRelationship String. Deletes the specified ExternalRelationship. DeletePart DataPart. DeletePart OpenXmlPart. Deletes a specified part in the package root layer. DeletePart String. Appends each element from a list of elements to the end of the current element's list of child elements. Appends each element from an array of elements to the end of the current element's list of child elements. Enumerates all of the sibling elements that follow the current element and have the same parent as the current element.
Enumerates all of the sibling elements that precede the current element and have the same parent as the current element. Inserts the specified element at the specified index in the current element's list of child elements. Removes the namespace declaration for the specified prefix. Removes nothing if there is no prefix.
Replaces a child element with another child element in the current element's list of child elements. Sets an attribute to the specified 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. Sets a number of attributes to the element. If an attribute is a known attribute, the value of the attribute is set. If an attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list.
Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode.
OpenXml Assembly: DocumentFormat. In this article. OpenXmlElement String. Gets all extended attributes attributes not defined in the schema of the current element. Gets a boolean value that indicates whether the current element has any attributes.
0コメント