Class ExcelExternalLink
Base class for external references
Inheritance
System.Object
ExcelExternalLink
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OfficeOpenXml.ExternalReferences
Assembly: EPPlus.dll
Syntax
public abstract class ExcelExternalLink
Fields
_errors
Declaration
protected List<string> _errors
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Properties
As
Provides an easy way to type cast the object to it's top level class
Declaration
public ExcelExternalLinkAsType As { get; }
Property Value
Type | Description |
---|---|
ExcelExternalLinkAsType |
ErrorLog
A list of errors that occured during load or update of the external workbook.
Declaration
public List<string> ErrorLog { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
ExternalLinkType
The type of external link
Declaration
public abstract eExternalLinkType ExternalLinkType { get; }
Property Value
Type | Description |
---|---|
eExternalLinkType |
Index
The index of the external link. The index can be used in formulas between brackets to reference this link.
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Examples
worksheet.Cells["A1"].Formula="'[1]Sheet1'!A1"
Methods
ToString()
Returns the string representation of the object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()