ITestExternalLinkCollection 接口

表示指向外部对象的链接的集合。

命名空间:  Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

声明
Public Interface ITestExternalLinkCollection _
    Inherits ITestObjectCollection(Of ITestExternalLink), IList(Of ITestExternalLink),  _
    ICollection(Of ITestExternalLink), IEnumerable(Of ITestExternalLink), IEnumerable,  _
    INotifyCollectionChanged, INotifyPropertyChanged
public interface ITestExternalLinkCollection : ITestObjectCollection<ITestExternalLink>, 
    IList<ITestExternalLink>, ICollection<ITestExternalLink>, IEnumerable<ITestExternalLink>, 
    IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
public interface class ITestExternalLinkCollection : ITestObjectCollection<ITestExternalLink^>, 
    IList<ITestExternalLink^>, ICollection<ITestExternalLink^>, IEnumerable<ITestExternalLink^>, 
    IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
type ITestExternalLinkCollection =  
    interface 
        interface ITestObjectCollection<ITestExternalLink>
        interface IList<ITestExternalLink>
        interface ICollection<ITestExternalLink>
        interface IEnumerable<ITestExternalLink>
        interface IEnumerable 
        interface INotifyCollectionChanged 
        interface INotifyPropertyChanged 
    end
public interface ITestExternalLinkCollection extends ITestObjectCollection<ITestExternalLink>, IList<ITestExternalLink>, ICollection<ITestExternalLink>, IEnumerable<ITestExternalLink>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

ITestExternalLinkCollection 类型公开以下成员。

属性

  名称 说明
公共属性 Count 获取 ICollection 中包含的元素数。 (继承自 ICollection<ITestExternalLink>。)
公共属性 IsReadOnly 获取一个值,该值指示 ICollection 是否为只读。 (继承自 ICollection<ITestExternalLink>。)
公共属性 Item 获取或设置位于指定索引处的元素。 (继承自 IList<ITestExternalLink>。)
公共属性 SyncRoot 获取可用于同步对集合的访问的对象。 (继承自 ITestObjectCollection<TObjectInterface>。)

页首

方法

  名称 说明
公共方法 Add 将某项添加到 ICollection 中。 (继承自 ICollection<ITestExternalLink>。)
公共方法 Clear ICollection 中移除所有项。 (继承自 ICollection<ITestExternalLink>。)
公共方法 Contains 确定 ICollection 是否包含特定值。 (继承自 ICollection<ITestExternalLink>。)
公共方法 CopyTo 从特定的 Array 索引开始,将 ICollection 的元素复制到一个 Array 中。 (继承自 ICollection<ITestExternalLink>。)
公共方法 GetEnumerator 返回一个循环访问集合的枚举器。 (继承自 IEnumerable<ITestExternalLink>。)
公共方法 IndexOf 确定 IList 中特定项的索引。 (继承自 IList<ITestExternalLink>。)
公共方法 Insert 将一个项插入指定索引处的 IList。 (继承自 IList<ITestExternalLink>。)
公共方法 Move 将集合的项从一个位置移到另一个位置。 (继承自 ITestObjectCollection<TObjectInterface>。)
公共方法 Remove ICollection 中移除特定对象的第一个匹配项。 (继承自 ICollection<ITestExternalLink>。)
公共方法 RemoveAt 移除指定索引处的 IList 项。 (继承自 IList<ITestExternalLink>。)

页首

事件

  名称 说明
公共事件 CollectionChanged 当集合更改时发生。 (继承自 INotifyCollectionChanged。)
公共事件 PropertyChanged 在属性值更改时发生。 (继承自 INotifyPropertyChanged。)

页首

请参阅

参考

Microsoft.TeamFoundation.TestManagement.Client 命名空间

ITestObjectCollection<TObjectInterface>

ITestExternalLink

INotifyCollectionChanged

INotifyPropertyChanged