IVsDataExplorerChildNodeCollection 接口

表示连接在服务器资源管理器的节点对象的集合。Visual Studio。

此 API 不兼容 CLS。 

命名空间:  Microsoft.VisualStudio.Data.Services
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
<CLSCompliantAttribute(False)> _
Public Interface IVsDataExplorerChildNodeCollection _
    Inherits IList(Of IVsDataExplorerNode), ICollection(Of IVsDataExplorerNode),  _
    IEnumerable(Of IVsDataExplorerNode), IEnumerable
[CLSCompliantAttribute(false)]
public interface IVsDataExplorerChildNodeCollection : IList<IVsDataExplorerNode>, 
    ICollection<IVsDataExplorerNode>, IEnumerable<IVsDataExplorerNode>, IEnumerable
[CLSCompliantAttribute(false)]
public interface class IVsDataExplorerChildNodeCollection : IList<IVsDataExplorerNode^>, 
    ICollection<IVsDataExplorerNode^>, IEnumerable<IVsDataExplorerNode^>, IEnumerable
[<CLSCompliantAttribute(false)>]
type IVsDataExplorerChildNodeCollection =  
    interface
        interface IList<IVsDataExplorerNode>
        interface ICollection<IVsDataExplorerNode>
        interface IEnumerable<IVsDataExplorerNode>
        interface IEnumerable
    end
public interface IVsDataExplorerChildNodeCollection extends IList<IVsDataExplorerNode>, ICollection<IVsDataExplorerNode>, IEnumerable<IVsDataExplorerNode>, IEnumerable

IVsDataExplorerChildNodeCollection 类型公开以下成员。

属性

  名称 说明
公共属性 Count 获取 ICollection<T> 中包含的元素数。 (继承自 ICollection<IVsDataExplorerNode>。)
公共属性 IsReadOnly 获取一个值,该值指示 ICollection<T> 是否为只读。 (继承自 ICollection<IVsDataExplorerNode>。)
公共属性 Item[Int32] 获取或设置位于指定索引处的元素。 (继承自 IList<IVsDataExplorerNode>。)
公共属性 Item[String] 获取具有指定名称的连接节点在服务器资源管理器中。

页首

方法

  名称 说明
公共方法 Add 将某项添加到 ICollection<T> 中。 (继承自 ICollection<IVsDataExplorerNode>。)
公共方法 Clear ICollection<T> 中移除所有项。 (继承自 ICollection<IVsDataExplorerNode>。)
公共方法 Contains(Int32) 指示服务器资源管理器中是否包含连接节点具有指定的数据对象标识符相对应。
公共方法 Contains(String) 指示服务器资源管理器中是否包含连接节点具有指定的名称对应。
公共方法 Contains(T) 确定 ICollection<T> 是否包含特定值。 (继承自 ICollection<IVsDataExplorerNode>。)
公共方法 Contains(IVsDataObject) 指示服务器资源管理器中是否包含连接节点具有指定的数据对象相对应。
公共方法 Contains(String, array<Object[]) 指示服务器资源管理器中是否包含连接节点和指定类型名称和标识符相对应。
公共方法 CopyTo 从特定的 Array 索引开始,将 ICollection<T> 的元素复制到一个 Array 中。 (继承自 ICollection<IVsDataExplorerNode>。)
公共方法 Find(IVsDataObject) 检索指定的连接节点。
公共方法 Find(String, array<Object[]) 检索连接节点和指定类型名称和标识符相对应。
公共方法 GetEnumerator() 返回一个循环访问集合的枚举器。 (继承自 IEnumerable<IVsDataExplorerNode>。)
公共方法 GetEnumerator() 返回一个循环访问集合的枚举数。 (继承自 IEnumerable。)
公共方法 IndexOf(Int32) 检索连接节点的索引与指定的数据对象标识符相对应。
公共方法 IndexOf(String) 检索连接节点的索引与指定的名称对应。
公共方法 IndexOf(T) 确定 IList<T> 中特定项的索引。 (继承自 IList<IVsDataExplorerNode>。)
公共方法 IndexOf(IVsDataObject) 检索连接节点的索引与指定的数据对象相对应。
公共方法 IndexOf(String, array<Object[]) 检索连接节点的索引具有指定名称类型名称和标识符相对应。
公共方法 Insert 将一个项插入指定索引处的 IList<T>。 (继承自 IList<IVsDataExplorerNode>。)
公共方法 Remove ICollection<T> 中移除特定对象的第一个匹配项。 (继承自 ICollection<IVsDataExplorerNode>。)
公共方法 RemoveAt 移除指定索引处的 IList<T> 项。 (继承自 IList<IVsDataExplorerNode>。)

页首

备注

此接口表示数据显示在本 Visual Studio 窗口的数据连接"节点下的连接节点。

此接口实现为内置DDEX服务。

请参见

参考

Microsoft.VisualStudio.Data.Services 命名空间