Table of Contents

Class ExcelExternalLinkAsType

Namespace
OfficeOpenXml.ExternalReferences
Assembly
EPPlus.dll

Provides a simple way to type cast ExcelExternalLink object top its top level class.

public class ExcelExternalLinkAsType
Inheritance
ExcelExternalLinkAsType
Inherited Members

Properties

Return the external link as a dde link. If the external link is not of type ExcelExternalDdeLink, null is returned

public ExcelExternalDdeLink DdeLink { get; }

Property Value

ExcelExternalDdeLink

ExternalWorkbook

Return the external link as an external workbook. If the external link is not of type ExcelExternalWorkbook, null is returned

public ExcelExternalWorkbook ExternalWorkbook { get; }

Property Value

ExcelExternalWorkbook

Return the external link as a ole link. If the external link is not of type ExcelExternalOleLink, null is returned

public ExcelExternalOleLink OleLink { get; }

Property Value

ExcelExternalOleLink

Methods

Type<T>()

Converts the external link to it's top level .

public T Type<T>() where T : ExcelExternalLink

Returns

T

The external link as type T

Type Parameters

T

The type of external link. T must be inherited from ExcelExternalLink