LinkLabel.LinkCollection 成员
表示 LinkLabel 控件内链接的集合。
下表列出了由 LinkLabel.LinkCollection 类型公开的成员。
公共构造函数
名称 | 说明 | |
---|---|---|
LinkLabel.LinkCollection | 初始化 LinkLabel.LinkCollection 类的新实例。 |
页首
公共属性
名称 | 说明 | |
---|---|---|
Count | 获取集合中链接的数目。 | |
IsReadOnly | 获取一个值,该值指示此集合是否为只读。 | |
Item | 已重载。获取集合中的项。 | |
LinksAdded | 获取一个值,该值指示链接是否已添加到 LinkLabel.LinkCollection 中。 |
页首
公共方法
(请参见 受保护的方法 )
名称 | 说明 | |
---|---|---|
Add | 已重载。 向集合添加链接。 | |
Clear | 清除集合中的所有链接。 | |
Contains | 确定指定链接是否位于集合内。 | |
ContainsKey | 返回一个值,该值指示集合是否包含具有指定键的链接。 | |
Equals | 已重载。 确定两个 Object 实例是否相等。 (从 Object 继承。) | |
GetEnumerator | 返回要用来循环访问链接集合的枚举数。 | |
GetHashCode | 用作特定类型的哈希函数。GetHashCode 适合在哈希算法和数据结构(如哈希表)中使用。 (从 Object 继承。) | |
GetType | 获取当前实例的 Type。 (从 Object 继承。) | |
IndexOf | 返回集合内指定链接的索引。 | |
IndexOfKey | 检索指定键在整个集合中的第一个匹配项的从零开始的索引。 | |
ReferenceEquals | 确定指定的 Object 实例是否是相同的实例。 (从 Object 继承。) | |
Remove | 从集合中移除指定的链接。 | |
RemoveAt | 移除集合内指定位置处的链接。 | |
RemoveByKey | 移除具有指定键的链接。 | |
ToString | 返回表示当前 Object 的 String。 (从 Object 继承。) |
页首
受保护的方法
名称 | 说明 | |
---|---|---|
Finalize | 允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。 (从 Object 继承。) | |
MemberwiseClone | 创建当前 Object 的浅表副本。 (从 Object 继承。) |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
System.Collections.ICollection.CopyTo | 有关此成员的说明,请参见 ICollection.CopyTo。 | |
System.Collections.IList.Add | 有关此成员的说明,请参见 IList.Add。 | |
System.Collections.IList.Contains | 有关此成员的说明,请参见 IList.Contains。 | |
System.Collections.IList.IndexOf | 有关此成员的说明,请参见 IList.IndexOf。 | |
System.Collections.IList.Insert | 有关此成员的说明,请参见 IList.Insert。 | |
System.Collections.IList.Remove | 有关此成员的说明,请参见 IList.Remove。 | |
System.Collections.ICollection.IsSynchronized | 有关此成员的说明,请参见 ICollection.IsSynchronized。 | |
System.Collections.ICollection.SyncRoot | 有关此成员的说明,请参见 ICollection.SyncRoot。 | |
System.Collections.IList.IsFixedSize | 有关此成员的说明,请参见 IList.IsFixedSize。 | |
System.Collections.IList.Item | 有关此成员的说明,请参见 IList.Item。 |
页首