Class ExcelExternalLinkAsType
Provides a simple way to type cast ExcelExternalLink object top its top level class.
Inheritance
Object
ExcelExternalLinkAsType
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: OfficeOpenXml.ExternalReferences
Assembly: EPPlus.dll
Syntax
public class ExcelExternalLinkAsType
Properties
DdeLink
Return the external link as a dde link. If the external link is not of type ExcelExternalDdeLink, null is returned
Declaration
public ExcelExternalDdeLink DdeLink { get; }
Property Value
| Type | Description |
|---|---|
| ExcelExternalDdeLink |
ExternalWorkbook
Return the external link as an external workbook. If the external link is not of type ExcelExternalWorkbook, null is returned
Declaration
public ExcelExternalWorkbook ExternalWorkbook { get; }
Property Value
| Type | Description |
|---|---|
| ExcelExternalWorkbook |
OleLink
Return the external link as a ole link. If the external link is not of type ExcelExternalOleLink, null is returned
Declaration
public ExcelExternalOleLink OleLink { get; }
Property Value
| Type | Description |
|---|---|
| ExcelExternalOleLink |
Methods
Type<T>()
Converts the external link to it's top level .
Declaration
public T Type<T>()
where T : ExcelExternalLink
Returns
| Type | Description |
|---|---|
| T | The external link as type T |
Type Parameters
| Name | Description |
|---|---|
| T | The type of external link. T must be inherited from ExcelExternalLink |