ExternalLink Class
Represents an external link in a workbook.
Inheritance Hierarchy
SystemObject
  Aspose.CellsExternalLink

Namespace: Aspose.Cells
Assembly: Aspose.Cells (in Aspose.Cells.dll) Version: 19.11.0.0 (19.11)
Syntax
public class ExternalLink

The ExternalLink type exposes the following members.

Properties
  NameDescription
Public propertyDataSource
Represents data source of the external link.
Public propertyIsReferred
Indicates whether this external link is referenced by others.
Public propertyIsVisible
Indicates whether this external link is visible in MS Excel.
Public propertyOriginalDataSource
Represents stored data source of the external link.
Public propertyType
Gets the type of external link.
Methods
  NameDescription
Public methodAddExternalName
Adds an external name.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Examples
[C#]

//Open a file with external links
Workbook workbook = new Workbook("d:\\book1.xls");

//Get External Link 
ExternalLink externalLink = workbook.Worksheets.ExternalLinks[0];

//Change External Link's Data Source
externalLink.DataSource = "d:\\link.xls";

[VB.NET]

'Open a file with external links
Dim workbook As New Workbook("d:\book1.xls")

'Get External Link 
Dim externalLink As ExternalLink = workbook.Worksheets.ExternalLinks(0)

'Change External Link's Data Source
externalLink.DataSource = "d:\link.xls"
See Also