Label. Link Collection. Contains(LinkLabel+Link) Method
Determines whether the specified link is within the collection.
public: bool Contains(System::Windows::Forms::LinkLabel::Link ^ link);
public bool Contains (System.Windows.Forms.LinkLabel.Link link);
member this.Contains : System.Windows.Forms.LinkLabel.Link -> bool
Public Function Contains (link As LinkLabel.Link) As Boolean
true if the specified link is within the collection; otherwise,
The Contains method enables you to determine whether a LinkLabel.Link is a member of the collection. Once you know that the link is located within the collection, you can use the IndexOf method to determine where the link is located within the collection.