Share via


IVsDataObjectCollection Interface

Definition

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

public interface class IVsDataObjectCollection : System::Collections::Generic::ICollection<Microsoft::VisualStudio::Data::Services::IVsDataObject ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Data::Services::IVsDataObject ^>, System::Collections::Generic::IList<Microsoft::VisualStudio::Data::Services::IVsDataObject ^>
public interface IVsDataObjectCollection : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Data.Services.IVsDataObject>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Data.Services.IVsDataObject>, System.Collections.Generic.IList<Microsoft.VisualStudio.Data.Services.IVsDataObject>
type IVsDataObjectCollection = interface
    interface IList<IVsDataObject>
    interface ICollection<IVsDataObject>
    interface seq<IVsDataObject>
    interface IEnumerable
Public Interface IVsDataObjectCollection
Implements ICollection(Of IVsDataObject), IEnumerable(Of IVsDataObject), IList(Of IVsDataObject)
Implements

Properties

Item[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.

Methods

Contains(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.

IndexOf(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.

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Return this enumeration in case it is not null. In case it is null return empty enumeration.

Applies to