Back to Devexpress

HyperlinkCollection.Contains(Hyperlink) Method

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

latest2.5 KB
Original Source

HyperlinkCollection.Contains(Hyperlink) Method

Indicates whether the collection contains the specified hyperlink.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
bool Contains(
    Hyperlink hyperlink
)
vb
Function Contains(
    hyperlink As Hyperlink
) As Boolean

Parameters

NameTypeDescription
hyperlinkHyperlink

A Hyperlink object to locate in the collection.

|

Returns

TypeDescription
Boolean

true , if the collection contains the hyperlink; otherwise, false.

|

Remarks

To obtain all hyperlinks contained in the specified cell range, use the HyperlinkCollection.GetHyperlinks method.

To add a hyperlink into a cell or cell range, use the HyperlinkCollection.Add method. To delete hyperlinks from cells, use the HyperlinkCollection.Remove, HyperlinkCollection.RemoveAt, HyperlinkCollection.Clear or Worksheet.ClearHyperlinks method.

See Also

How to: Add a Hyperlink to a Cell

HyperlinkCollection Interface

HyperlinkCollection Members

DevExpress.Spreadsheet Namespace