Share via


IVsDataObjectCollection Members

Include Protected Members
Include Inherited Members

Represents a collection of data objects that are selected from an object store.

The IVsDataObjectCollection type exposes the following members.

Methods

 

Name

Description

Public method

Add

Adds an item to the ICollection<T>. (Inherited from ICollection<IVsDataObject>.)

Public method

Clear

Removes all items from the ICollection<T>. (Inherited from ICollection<IVsDataObject>.)

Public method

Contains

Overloaded. Indicates whether the collection of data objects contains a data object corresponding to the specified identifier.

Public method

CopyTo

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<IVsDataObject>.)

Public method

GetEnumerator

Overloaded.

Public method

IndexOf

Overloaded. Returns the index of the data object in the collection that matches the specified identifier.

Public method

Insert

Inserts an item to the IList<T> at the specified index. (Inherited from IList<IVsDataObject>.)

Public method

Remove

Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<IVsDataObject>.)

Public method

RemoveAt

Removes the IList<T> item at the specified index. (Inherited from IList<IVsDataObject>.)

Top

Properties

 

Name

Description

Public property

Count

Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<IVsDataObject>.)

Public property

IsReadOnly

Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<IVsDataObject>.)

Public property

Item

Overloaded. Gets from the collection, the data object that matches the specified identifier.

Top

See Also

Reference

IVsDataObjectCollection Interface

Microsoft.VisualStudio.Data.Services Namespace