Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a collection of data objects that are selected from an object store.
Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Public Interface IVsDataObjectCollection _
    Inherits IList(Of IVsDataObject), ICollection(Of IVsDataObject),  _
    IEnumerable(Of IVsDataObject), IEnumerable
public interface IVsDataObjectCollection : IList<IVsDataObject>, 
    ICollection<IVsDataObject>, IEnumerable<IVsDataObject>, IEnumerable
public interface class IVsDataObjectCollection : IList<IVsDataObject^>, 
    ICollection<IVsDataObject^>, IEnumerable<IVsDataObject^>, IEnumerable
type IVsDataObjectCollection =  
    interface 
        interface IList<IVsDataObject>
        interface ICollection<IVsDataObject>
        interface IEnumerable<IVsDataObject>
        interface IEnumerable 
    end
public interface IVsDataObjectCollection extends IList<IVsDataObject>, ICollection<IVsDataObject>, IEnumerable<IVsDataObject>, IEnumerable
The IVsDataObjectCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Count | Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<IVsDataObject>.) | 
| .gif) | IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<IVsDataObject>.) | 
| .gif) | Item[Int32] | Gets or sets the element at the specified index. (Inherited from IList<IVsDataObject>.) | 
| .gif) | Item[array<Object[]] | Gets from the collection, the data object that matches the specified identifier. | 
| .gif) | Item[String] | Gets from the collection the data object that matches the specified identifier. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Add | Adds an item to the ICollection<T>. (Inherited from ICollection<IVsDataObject>.) | 
| .gif) | Clear | Removes all items from the ICollection<T>. (Inherited from ICollection<IVsDataObject>.) | 
| .gif) | Contains(array<Object[]) | Indicates whether the collection of data objects contains a data object corresponding to the specified identifier. | 
| .gif) | Contains(String) | Indicates whether the collection of data objects contains a data object corresponding to the specified identifier. | 
| .gif) | Contains(T) | Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<IVsDataObject>.) | 
| .gif) | CopyTo | Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<IVsDataObject>.) | 
| .gif) | GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IVsDataObject>.) | 
| .gif) | IndexOf(array<Object[]) | Returns the index of the data object in the collection that matches the specified identifier. | 
| .gif) | IndexOf(String) | Returns the index of the data object in the collection that matches the specified identifier. | 
| .gif) | IndexOf(T) | Determines the index of a specific item in the IList<T>. (Inherited from IList<IVsDataObject>.) | 
| .gif) | Insert | Inserts an item to the IList<T> at the specified index. (Inherited from IList<IVsDataObject>.) | 
| .gif) | Remove | Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<IVsDataObject>.) | 
| .gif) | RemoveAt | Removes the IList<T> item at the specified index. (Inherited from IList<IVsDataObject>.) | 
Top
Remarks
This interface is implemented as a built-in DDEX service.