Back to Devexpress

HyperlinkCollection.IndexOf(Hyperlink) Method

officefileapi-devexpress-dot-spreadsheet-dot-hyperlinkcollection-dot-indexof-x28-devexpress-dot-spreadsheet-dot-hyperlink-x29.md

latest1.7 KB
Original Source

HyperlinkCollection.IndexOf(Hyperlink) Method

Returns the index of the specified hyperlink in the collection.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
int IndexOf(
    Hyperlink hyperlink
)
vb
Function IndexOf(
    hyperlink As Hyperlink
) As Integer

Parameters

NameTypeDescription
hyperlinkHyperlink

A Hyperlink object to locate in the collection.

|

Returns

TypeDescription
Int32

A zero-based integer which specifies the hyperlink’s position within the collection. -1 if the hyperlink doesn’t belong to the collection.

|

See Also

How to: Add a Hyperlink to a Cell

HyperlinkCollection Interface

HyperlinkCollection Members

DevExpress.Spreadsheet Namespace