ExternalLinkCollection Class
Represents external links collection in a workbook.
Inheritance Hierarchy

Namespace: Aspose.Cells
Assembly: Aspose.Cells (in Aspose.Cells.dll) Version: (19.11)
public class ExternalLinkCollection

The ExternalLinkCollection type exposes the following members.

Public propertyCount
Gets the number of elements actually contained in the collection.
Public propertyItem
Gets the ExternalLink element at the specified index.
Public methodAdd(String, String)
Adds an external link.
Public methodAdd(DirectoryType, String, String)
Add an external link .
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.)
//Open a file with external links
Workbook workbook = new Workbook("d:\\book1.xls");

//Change external link data source
workbook.Worksheets.ExternalLinks[0].DataSource = "d:\\link.xls";

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

'Change external link data source
workbook.Worksheets.ExternalLinks(0).DataSource = "d:\\link.xls"
See Also