LinkLabel::LinkCollection::RemoveByKey Method (String^)

 

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: