[]
Gets the IHyperlink by index.
The index is zero-based. If the index is outside the collection, this property returns null.
IHyperlink this[int index] { get; }
ReadOnly Default Property Item(index As Integer) As IHyperlink
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index of the hyperlink. |
| Type | Description |
|---|---|
| IHyperlink | The hyperlink at the specified index, or null if the index is outside the collection. |
IHyperlinks hyperlinks = worksheet.Hyperlinks;
hyperlinks.Add(worksheet.Range["A1"], "https://www.example.com");
IHyperlink hyperlink = hyperlinks[0];