Share via


IVsDataExplorerChildNodeCollection Interface

Represents the collection of connection node objects in Server Explorer in Visual Studio.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
<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

The IVsDataExplorerChildNodeCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<IVsDataExplorerNode>.)
Public property IsReadOnly Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<IVsDataExplorerNode>.)
Public property Item[Int32] Gets or sets the element at the specified index. (Inherited from IList<IVsDataExplorerNode>.)
Public property Item[String] Gets the connection node with the specified name in Server Explorer.

Top

Methods

  Name Description
Public method Add Adds an item to the ICollection<T>. (Inherited from ICollection<IVsDataExplorerNode>.)
Public method Clear Removes all items from the ICollection<T>. (Inherited from ICollection<IVsDataExplorerNode>.)
Public method Contains(Int32) Indicates whether Server Explorer contains a connection node corresponding to the specified data object identifier.
Public method Contains(String) Indicates whether Server Explorer contains a connection node corresponding to the specified name.
Public method Contains(T) Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<IVsDataExplorerNode>.)
Public method Contains(IVsDataObject) Indicates whether Server Explorer contains a connection node corresponding to the specified data object.
Public method Contains(String, array<Object[]) Indicates whether Server Explorer contains a connection node corresponding to the specified type name and identifiers.
Public method CopyTo Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<IVsDataExplorerNode>.)
Public method Find(IVsDataObject) Retrieves the specified connection node.
Public method Find(String, array<Object[]) Retrieves a connection node corresponding to the specified type name and identifiers.
Public method GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IVsDataExplorerNode>.)
Public method IndexOf(Int32) Retrieves the index of the connection node corresponding to the specified data object identifier.
Public method IndexOf(String) Retrieves the index of the connection node corresponding to the specified name.
Public method IndexOf(T) Determines the index of a specific item in the IList<T>. (Inherited from IList<IVsDataExplorerNode>.)
Public method IndexOf(IVsDataObject) Retrieves the index of the connection node corresponding to the specified data object.
Public method IndexOf(String, array<Object[]) Retrieves the index of the connection node corresponding to the specified name type name and identifiers.
Public method Insert Inserts an item to the IList<T> at the specified index. (Inherited from IList<IVsDataExplorerNode>.)
Public method Remove Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<IVsDataExplorerNode>.)
Public method RemoveAt Removes the IList<T> item at the specified index. (Inherited from IList<IVsDataExplorerNode>.)

Top

Remarks

This interface represents the collection of data connection nodes that appear under the Data Connections node in this Visual Studio window.

This interface is implemented as a built-in DDEX service.

See Also

Reference

Microsoft.VisualStudio.Data.Services Namespace