Export (0) Print
Expand All

LinkLabel.LinkCollection.Clear Method

Clears all links from the collection.

[Visual Basic]
Public Overridable Sub Clear() Implements IList.Clear
[C#]
public virtual void Clear();
[C++]
public: virtual void Clear();
[JScript]
public function Clear();

Implements

IList.Clear

Remarks

When you remove links from the collection, all information about the removed links is deleted. To remove a single link from the LinkLabel, use the Remove or RemoveAt method.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

LinkLabel.LinkCollection Class | LinkLabel.LinkCollection Members | System.Windows.Forms Namespace | Remove | RemoveAt

Show:
© 2015 Microsoft