Workbook-Member
Geschützte Member einschließen
Geerbte Member einschließen
Workbook. It is the root element of WorkbookPart.When the object is serialized out as xml, its qualified name is x:workbook.
Vom Workbook-Typ werden die folgenden Member offengelegt.
Konstruktoren
Name | Beschreibung | |
---|---|---|
Workbook() | Initializes a new instance of the Workbook class. | |
Workbook(String) | Initializes a new instance of the Workbook class from outer XML. | |
Workbook(array<OpenXmlElement[]) | Initializes a new instance of the Workbook class with the specified child elements. | |
Workbook(IEnumerable<OpenXmlElement>) | Initializes a new instance of the Workbook class with the specified child elements. |
Nach oben
Eigenschaften
Name | Beschreibung | |
---|---|---|
BookViews | Workbook Views.Represents the element tag in schema: x:bookViews | |
CalculationProperties | Calculation Properties.Represents the element tag in schema: x:calcPr | |
ChildElements | Gets all the child nodes of this element. (Geerbt von OpenXmlElement.) | |
CustomWorkbookViews | Custom Workbook Views.Represents the element tag in schema: x:customWorkbookViews | |
DefinedNames | Defined Names.Represents the element tag in schema: x:definedNames | |
ExtendedAttributes | Gets all extended attributes (attributes not defined in schema) of the element. (Geerbt von OpenXmlElement.) | |
ExternalReferences | External References.Represents the element tag in schema: x:externalReferences | |
FileSharing | File Sharing.Represents the element tag in schema: x:fileSharing | |
FileVersion | File Version.Represents the element tag in schema: x:fileVersion | |
FirstChild | Gets the first child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Geerbt von OpenXmlCompositeElement.) | |
FunctionGroups | Function Groups.Represents the element tag in schema: x:functionGroups | |
HasAttributes | Gets a boolean value indicating whether the current element has any attributes. (Geerbt von OpenXmlElement.) | |
HasChildren | Gets a value indicating whether this element has any child elements. (Geerbt von OpenXmlCompositeElement.) | |
InnerText | Gets or sets the concatenated values of the node and all its children. (Geerbt von OpenXmlCompositeElement.) | |
InnerXml | Gets or sets the markup representing only the child nodes of this node. (Geerbt von OpenXmlCompositeElement.) | |
LastChild | Gets the last child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Geerbt von OpenXmlCompositeElement.) | |
LocalName | Gets the local name of the element. (Setzt OpenXmlElement.LocalName außer Kraft.) | |
MCAttributes | Markup Compatibility Attributes Set. Return null if there is no Markup Compatibility Attribute defined in this element. (Geerbt von OpenXmlElement.) | |
NamespaceDeclarations | Gets all the namespace declarations defined in the current element. Return an empty enumerator if there is no namespace declaration. (Geerbt von OpenXmlElement.) | |
NamespaceUri | Gets the namespace URI of this node. (Geerbt von OpenXmlElement.) | |
OleSize | OLE Size.Represents the element tag in schema: x:oleSize | |
OpenXmlElementContext | Gets the OpenXmlEementContext. (Geerbt von OpenXmlElement.) | |
OuterXml | Gets the markup representing this element and all its child elements. (Geerbt von OpenXmlElement.) | |
Parent | Gets the parent of this element. (Geerbt von OpenXmlElement.) | |
PivotCaches | PivotCaches.Represents the element tag in schema: x:pivotCaches | |
Prefix | Gets the namespace prefix of this node. (Geerbt von OpenXmlElement.) | |
Sheets | Sheets.Represents the element tag in schema: x:sheets | |
SmartTagProperties | Smart Tag Properties.Represents the element tag in schema: x:smartTagPr | |
SmartTagTypes | Smart Tag Types.Represents the element tag in schema: x:smartTagTypes | |
WebPublishing | Web Publishing Properties.Represents the element tag in schema: x:webPublishing | |
WorkbookPart | Gets the WorkbookPart associated with this element. | |
WorkbookProperties | Workbook Properties.Represents the element tag in schema: x:workbookPr | |
WorkbookProtection | Workbook Protection.Represents the element tag in schema: x:workbookProtection | |
XmlQualifiedName | Gets the qualified name of the node. (Geerbt von OpenXmlElement.) |
Nach oben
Methoden
Name | Beschreibung | |
---|---|---|
AddAnnotation | Adds an object to the annotation list of this OpenXmlElement. (Geerbt von OpenXmlElement.) | |
AddNamespaceDeclaration | Adds a namepace declaration to the current node. (Geerbt von OpenXmlElement.) | |
Ancestors() | Enumerate all the ancestor nodes of this element. (Geerbt von OpenXmlElement.) | |
Annotation(Type) | Get the first annotation object of the specified type from this OpenXmlElement. (Geerbt von OpenXmlElement.) | |
Annotation<T>() | Get the first annotation object of the specified type from this OpenXmlElement. (Geerbt von OpenXmlElement.) | |
Annotations(Type) | Gets a collection of annotations of the specified type for this OpenXmlElement. (Geerbt von OpenXmlElement.) | |
Annotations<T>() | Gets a collection of annotations of the specified type for this OpenXmlElement. (Geerbt von OpenXmlElement.) | |
Append(array<OpenXmlElement[]) | Adds the elements to the end of the list of child nodes, of this element. (Geerbt von OpenXmlElement.) | |
Append(IEnumerable<OpenXmlElement>) | Adds the elements to the end of the list of child nodes, of this element. (Geerbt von OpenXmlElement.) | |
AppendChild<T>(T) | Adds the specified element to the end of the list of child nodes, of this element. (Geerbt von OpenXmlCompositeElement.) | |
AppendChild<T>(T) | Adds the specified element to the end of the list of child nodes, of this element. (Geerbt von OpenXmlElement.) | |
ClearAllAttributes | Clear all the attributes ( known attributes + extended attributes ) (Geerbt von OpenXmlElement.) | |
Clone | Creates a duplicate of this node. (Geerbt von OpenXmlElement.) | |
CloneNode | Creates a duplicate of this node. (Setzt OpenXmlElement.CloneNode(Boolean) außer Kraft.) | |
Descendants<T>() | Enumerate all the descendants elements (which type is T) of this element. Preorder traversering. (Geerbt von OpenXmlElement.) | |
Elements<T>() | Enumerate for specific type of elements in child elements (Geerbt von OpenXmlElement.) | |
ElementsAfter | Enumerate all the sibling elements after this element in same parent. (Geerbt von OpenXmlElement.) | |
ElementsBefore | Enumerate all the sibling elements before this element in same parent. (Geerbt von OpenXmlElement.) | |
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetAttribute | Gets a Open XML attribute with the specifed tag name and namespace URI. (Geerbt von OpenXmlElement.) | |
GetAttributes | Get a copy of all the attributes (Geerbt von OpenXmlElement.) | |
GetEnumerator | Returns an enumerator that iterates through the child collection. (Geerbt von OpenXmlElement.) | |
GetFirstChild<T> | Find the first child element in type T (Geerbt von OpenXmlElement.) | |
GetHashCode | (Geerbt von Object.) | |
GetType | (Geerbt von Object.) | |
InsertAfter<T>(T, OpenXmlElement) | Inserts the specified element immediately after the specified reference element. (Geerbt von OpenXmlCompositeElement.) | |
InsertAfter<T>(T, OpenXmlElement) | Inserts the specified element immediately after the specified reference element. (Geerbt von OpenXmlElement.) | |
InsertAfterSelf<T> | Inserts the specified element immediately after this element. (Geerbt von OpenXmlElement.) | |
InsertAt<T>(T, Int32) | Inserts the specified element at the specified index in children. (Geerbt von OpenXmlCompositeElement.) | |
InsertAt<T>(T, Int32) | Inserts the specified element at the specified index in children. (Geerbt von OpenXmlElement.) | |
InsertBefore<T>(T, OpenXmlElement) | Inserts the specified element immediately before the specified reference element. (Geerbt von OpenXmlCompositeElement.) | |
InsertBefore<T>(T, OpenXmlElement) | Inserts the specified element immediately before the specified reference element. (Geerbt von OpenXmlElement.) | |
InsertBeforeSelf<T> | Inserts the specified element immediately before this element. (Geerbt von OpenXmlElement.) | |
IsAfter | Determines if the current element appears after a specified element in document order. (Geerbt von OpenXmlElement.) | |
IsBefore | Determines if the current element appears before a specified element in document order. (Geerbt von OpenXmlElement.) | |
Load | Loads the DOM from the WorkbookPart. | |
LookupNamespace | Resolve the namespace prefix in the context of current node (Geerbt von OpenXmlElement.) | |
LookupPrefix | Finds the corresponding prefix for a namespace uri in the current element scope. (Geerbt von OpenXmlElement.) | |
MemberwiseClone | (Geerbt von Object.) | |
NextSibling() | Gets the OpenXmlElement immediately following this OpenXmlElement. If there is no next OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Geerbt von OpenXmlElement.) | |
PrependChild<T>(T) | Adds the specified element to the beginning of the list of child nodes for this element. (Geerbt von OpenXmlCompositeElement.) | |
PrependChild<T>(T) | Adds the specified element to the beginning of the list of child nodes for this element. (Geerbt von OpenXmlElement.) | |
PreviousSibling() | Gets the OpenXmlElement immediately preceding this OpenXmlElement. If there is no such preceding OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Geerbt von OpenXmlElement.) | |
Reload | Reloads the part content into Open XML DOM tree. It could be called multiple times and each time it is called, the tree will be reloaded; previous changes on the tree are abandoned. (Geerbt von OpenXmlPartRootElement.) | |
Remove | Removes this element from its parent. (Geerbt von OpenXmlElement.) | |
RemoveAllChildren | Remove all the child elements (Geerbt von OpenXmlCompositeElement.) | |
RemoveAnnotations(Type) | Removes the annotations of the specified type from this OpenXmlElement. (Geerbt von OpenXmlElement.) | |
RemoveAnnotations<T>() | Removes the annotations of the specified type from this OpenXmlElement. (Geerbt von OpenXmlElement.) | |
RemoveAttribute | Remove the attribute from the element. (Geerbt von OpenXmlElement.) | |
RemoveChild<T>(T) | Removes specified child element. (Geerbt von OpenXmlCompositeElement.) | |
RemoveChild<T>(T) | Removes specified child element. (Geerbt von OpenXmlElement.) | |
RemoveNamespaceDeclaration | Removes namespace declaration for a specific prefix. do nothing if the prefix is not existed. (Geerbt von OpenXmlElement.) | |
ReplaceChild<T>(OpenXmlElement, T) | Replaces the child OpenXmlElement oldChild with newChild OpenXmlElement. (Geerbt von OpenXmlCompositeElement.) | |
ReplaceChild<T>(OpenXmlElement, T) | Replaces the child OpenXmlElement oldChild with newChild OpenXmlElement. (Geerbt von OpenXmlElement.) | |
Save() | Saves the data in the DOM tree back to the part. It could be called multiple times as well. Each time it is called, the stream will be flushed. (Geerbt von OpenXmlPartRootElement.) | |
Save(Stream) | Save the DOM tree to stream. (Geerbt von OpenXmlPartRootElement.) | |
Save(WorkbookPart) | Saves the DOM into the WorkbookPart. | |
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. (Geerbt von OpenXmlElement.) | |
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. (Geerbt von OpenXmlElement.) | |
ToString | (Geerbt von Object.) | |
WriteTo | Saves the current node to the specified XmlWriter. (Geerbt von OpenXmlPartRootElement.) |
Nach oben
Explizite Schnittstellenimplementierungen
Name | Beschreibung | |
---|---|---|
IEnumerable.GetEnumerator | (Geerbt von OpenXmlElement.) |
Nach oben