Partager via


ExternalBook Class

External Workbook.When the object is serialized out as xml, its qualified name is x:externalBook.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.ExternalBook

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ExternalDefinedNames))> _
<ChildElementInfoAttribute(GetType(SheetDataSet))> _
<ChildElementInfoAttribute(GetType(SheetNames))> _
Public Class ExternalBook _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ExternalBook
[ChildElementInfoAttribute(typeof(ExternalDefinedNames))]
[ChildElementInfoAttribute(typeof(SheetDataSet))]
[ChildElementInfoAttribute(typeof(SheetNames))]
public class ExternalBook : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • SheetNames <x:sheetNames>

  • ExternalDefinedNames <x:definedNames>

  • SheetDataSet <x:sheetDataSet>

[ISO/IEC 29500-1 1st Edition]

18.14.7 externalBook (External Workbook)

This element represents an external workbook which is supplying data to the current workbook.

Parent Elements

externalLink (§18.14.8)

Child Elements

Subclause

definedNames (Named Links)

§18.14.6

sheetDataSet (Cached Worksheet Data)

§18.14.14

sheetNames (Supporting Workbook Sheet Names)

§18.14.16

Attributes

Description

id (Relationship to supporting book file path)

Namespace: .../officeDocument/2006/relationships

Relationship ID that references a link in the relationships collection. The target attribute in the associated relationship will specify the worksheet XML file in the current spreadsheetML document ZIP archive that makes use of this externalbook.

The possible values for this attribute are defined by the ST_RelationshipId simple type (§22.8.2.1).

[Note: The W3C XML Schema definition of this element’s content model (CT_ExternalBook) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ExternalBook Members

DocumentFormat.OpenXml.Spreadsheet Namespace