Partager via


ExternalLink Class

External Reference. It is the root element of ExternalWorkbookPart.When the object is serialized out as xml, its qualified name is x:externalLink.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.OpenXmlPartRootElement
        DocumentFormat.OpenXml.Spreadsheet.ExternalLink

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ExternalBook))> _
<ChildElementInfoAttribute(GetType(DdeLink))> _
<ChildElementInfoAttribute(GetType(OleLink))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class ExternalLink _
    Inherits OpenXmlPartRootElement
'Usage
Dim instance As ExternalLink
[ChildElementInfoAttribute(typeof(ExternalBook))]
[ChildElementInfoAttribute(typeof(DdeLink))]
[ChildElementInfoAttribute(typeof(OleLink))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class ExternalLink : OpenXmlPartRootElement

Remarks

The following table lists the possible child types:

  • ExternalBook <x:externalBook>

  • DdeLink <x:ddeLink>

  • OleLink <x:oleLink>

  • ExtensionList <x:extLst>

[ISO/IEC 29500-1 1st Edition]

18.14.8 externalLink (External Reference)

This element is a container for specific types of external links.

Parent Elements

Root element of SpreadsheetML External Workbook References part

Child Elements

Subclause

ddeLink (DDE Connection)

§18.14.4

externalBook (External Workbook)

§18.14.7

extLst (Future Feature Data Storage Area)

§18.2.10

oleLink (Generic Object Link Connection)

§18.14.11

[Note: The W3C XML Schema definition of this element’s content model (CT_ExternalLink) 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

ExternalLink Members

DocumentFormat.OpenXml.Spreadsheet Namespace