IVsDataObjectCollection 接口

定义

表示从对象存储中选择的数据对象的集合。

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)
实现

属性

Item[Object[]]

从集合中获取 ,即与指定标识符匹配的数据对象。

Item[String]

从集合中获取与指定标识符匹配的数据对象。

方法

Contains(Object[])

指示数据对象的集合是否包含与指定标识符对应的数据对象。

Contains(String)

指示数据对象的集合是否包含与指定标识符对应的数据对象。

IndexOf(Object[])

返回集合中与指定标识符匹配的数据对象的索引。

IndexOf(String)

返回集合中与指定标识符匹配的数据对象的索引。

扩展方法

EmptyIfNull<T>(IEnumerable<T>)

如果枚举不为 null,则返回此枚举。 如果为 null,则返回空枚举。

适用于