[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IHyperlinks.Item

this Property

Gets the IHyperlink by index.

The index is zero-based. If the index is outside the collection, this property returns null.

Declaration
IHyperlink this[int index] { get; }
ReadOnly Default Property Item(index As Integer) As IHyperlink
Parameters
Type Name Description
int index

The zero-based index of the hyperlink.

Property Value
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];