LinkLabel.LinkCollection.RemoveByKey Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes the link with the specified key.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public virtual void RemoveByKey(
	string key
)

Parameters

key
Type: System.String

The key of the link to remove.

The Name property corresponds to the key for a LinkLabel.Link in the LinkLabel.LinkCollection. The key comparison is not case-sensitive.

.NET Framework
Available since 2.0
Return to top
Show: