IVsDataObjectCollection Interface
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 | |
---|---|---|
Count | Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<IVsDataObject>.) | |
IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<IVsDataObject>.) | |
Item[Int32] | Gets or sets the element at the specified index. (Inherited from IList<IVsDataObject>.) | |
Item[array<Object[]] | Gets from the collection, the data object that matches the specified identifier. | |
Item[String] | Gets from the collection the data object that matches the specified identifier. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds an item to the ICollection<T>. (Inherited from ICollection<IVsDataObject>.) | |
Clear | Removes all items from the ICollection<T>. (Inherited from ICollection<IVsDataObject>.) | |
Contains(array<Object[]) | Indicates whether the collection of data objects contains a data object corresponding to the specified identifier. | |
Contains(String) | Indicates whether the collection of data objects contains a data object corresponding to the specified identifier. | |
Contains(T) | Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<IVsDataObject>.) | |
CopyTo | Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<IVsDataObject>.) | |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IVsDataObject>.) | |
IndexOf(array<Object[]) | Returns the index of the data object in the collection that matches the specified identifier. | |
IndexOf(String) | Returns the index of the data object in the collection that matches the specified identifier. | |
IndexOf(T) | Determines the index of a specific item in the IList<T>. (Inherited from IList<IVsDataObject>.) | |
Insert | Inserts an item to the IList<T> at the specified index. (Inherited from IList<IVsDataObject>.) | |
Remove | Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<IVsDataObject>.) | |
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.