LinkLabel.LinkCollection.Remove 方法

从集合中移除指定的链接。

**命名空间:**System.Windows.Forms
**程序集:**System.Windows.Forms(在 system.windows.forms.dll 中)

语法

声明
Public Sub Remove ( _
    value As Link _
)
用法
Dim instance As LinkCollection
Dim value As Link

instance.Remove(value)
public void Remove (
    Link value
)
public:
void Remove (
    Link^ value
)
public void Remove (
    Link value
)
public function Remove (
    value : Link
)

参数

备注

当从集合中移除链接时,集合中后续项的索引将改变。有关移除的项的所有信息均会被删除。可以使用此方法通过指定要从集合中移除的实际项来从该集合中移除特定链接。如果希望指定要移除的链接的索引而不是链接本身,请使用 RemoveAt 方法。若要从集合中移除所有链接,请使用 Clear 方法。

平台

Windows 98、Windows 2000 SP4、Windows CE、Windows Millennium Edition、Windows Mobile for Pocket PC、Windows Mobile for Smartphone、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

请参见

参考

LinkLabel.LinkCollection 类
LinkLabel.LinkCollection 成员
System.Windows.Forms 命名空间
RemoveAt
Clear