Represents the collection of links within a LinkLabel control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Initializes a new instance of theclass.
Gets the number of links in the collection.
Gets a value indicating whether this collection is read-only.
Gets and sets the link at the specified index within the collection.
Gets a link with the specified key from the collection.
Gets a value indicating whether links have been added to the.
Adds a link to the collection.
|Add(Int32, Int32, Object)|
Adds a link to the collection with information to associate with the link.
Adds a link with the specified value to the collection.
Clears all links from the collection.
Determines whether the specified link is within the collection.
Returns a value indicating whether the collection contains a link with the specified key.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Returns an enumerator to use to iterate through the link collection.
Serves as the default hash function. (Inherited from Object.)
Returns the index of the specified link within the collection.
Retrieves the zero-based index of the first occurrence of the specified key within the entire collection.
Removes the specified link from the collection.
Removes a link at a specified location within the collection.
Removes the link with the specified key.
Returns a string that represents the current object.(Inherited from Object.)
For a description of this member, see ICollection.CopyTo.
For a description of this member, see IList.Add.
For a description of this member, see IList.Contains.
For a description of this member, see IList.IndexOf.
For a description of this member, see IList.Insert.
For a description of this member, see IList.Remove.
Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)
The Add method provides the ability to add a single LinkLabel.Link to the collection. To remove links, you can use either the Remove method or the RemoveAt method if you know where the link is located within the collection. The Clear method enables you to remove all links from the collection instead of using the Remove method to remove a single link at a time.
In addition to methods and properties for adding and removing items, 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.also provides methods to find links within the collection. The
Available since 1.1
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.