Bagikan melalui


DataSourceCollection Class

Microsoft internal use only.

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  Microsoft.Internal.VisualStudio.PlatformUI.DataSourceCollection

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Class DataSourceCollection _
    Implements IDataSourceCollection, IUIDispatch, IVsUICollection, IVsUISimpleDataSource,  _
    IVsUIDispatch, IList(Of IDataSource), ICollection(Of IDataSource),  _
    IEnumerable(Of IDataSource), INotifyPropertyChanged, INotifyCollectionChanged, IList,  _
    ICollection, IEnumerable, IDisposable
[CLSCompliantAttribute(false)]
public class DataSourceCollection : IDataSourceCollection, 
    IUIDispatch, IVsUICollection, IVsUISimpleDataSource, IVsUIDispatch, IList<IDataSource>, 
    ICollection<IDataSource>, IEnumerable<IDataSource>, INotifyPropertyChanged, 
    INotifyCollectionChanged, IList, ICollection, IEnumerable, IDisposable
[CLSCompliantAttribute(false)]
public ref class DataSourceCollection : IDataSourceCollection, 
    IUIDispatch, IVsUICollection, IVsUISimpleDataSource, IVsUIDispatch, IList<IDataSource^>, 
    ICollection<IDataSource^>, IEnumerable<IDataSource^>, INotifyPropertyChanged, 
    INotifyCollectionChanged, IList, ICollection, IEnumerable, IDisposable
[<CLSCompliantAttribute(false)>]
type DataSourceCollection =  
    class
        interface IDataSourceCollection
        interface IUIDispatch
        interface IVsUICollection
        interface IVsUISimpleDataSource
        interface IVsUIDispatch
        interface IList<IDataSource>
        interface ICollection<IDataSource>
        interface IEnumerable<IDataSource>
        interface INotifyPropertyChanged
        interface INotifyCollectionChanged
        interface IList
        interface ICollection
        interface IEnumerable
        interface IDisposable
    end
public class DataSourceCollection implements IDataSourceCollection, IUIDispatch, IVsUICollection, IVsUISimpleDataSource, IVsUIDispatch, IList<IDataSource>, ICollection<IDataSource>, IEnumerable<IDataSource>, INotifyPropertyChanged, INotifyCollectionChanged, IList, ICollection, IEnumerable, IDisposable

The DataSourceCollection type exposes the following members.

Properties

  Name Description
Public property Count Microsoft internal use only.
Public property IsDisposed Microsoft internal use only.
Public property IsReadOnly Microsoft internal use only.
Public property IsSynchronized Microsoft internal use only.
Public property Item Microsoft internal use only.
Public property SyncRoot Microsoft internal use only.
Public property Verbs Microsoft internal use only.

Top

Methods

  Name Description
Public method Add Microsoft internal use only.
Public method AdviseCollectionChangeEvents Microsoft internal use only.
Public method Clear Microsoft internal use only.
Public method Close Microsoft internal use only.
Public method Contains Microsoft internal use only.
Public method CopyTo(Array, Int32) Microsoft internal use only.
Public method CopyTo(array<IDataSource[], Int32) Microsoft internal use only.
Public methodStatic member CreateInstance(IVsUICollection) Microsoft internal use only.
Public methodStatic member CreateInstance(IVsUICollection, DataSourceParameters) Microsoft internal use only.
Public methodStatic member CreateReadOnlyInstance(IVsUICollection) Microsoft internal use only.
Public methodStatic member CreateReadOnlyInstance(IVsUICollection, DataSourceParameters) Microsoft internal use only.
Public method Dispose() Microsoft internal use only.
Protected method Dispose(Boolean) Microsoft internal use only.
Public method EnumVerbs Microsoft internal use only.
Public method Equals Microsoft internal use only. (Overrides Object.Equals(Object).)
Protected method Finalize Microsoft internal use only. (Overrides Object.Finalize().)
Public method get_Count Microsoft internal use only.
Public method GetEnumerator Microsoft internal use only.
Public method GetHashCode Microsoft internal use only. (Overrides Object.GetHashCode().)
Public method GetItem Microsoft internal use only.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Microsoft internal use only.
Public method Insert Microsoft internal use only.
Public method Invoke(String, Object) Microsoft internal use only.
Public method Invoke(String, Object, Object%) Microsoft internal use only.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove(Object) Microsoft internal use only.
Public method Remove(IDataSource) Microsoft internal use only.
Public method RemoveAt Microsoft internal use only.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnadviseCollectionChangeEvents Microsoft internal use only.

Top

Events

  Name Description
Public event CollectionChanged Microsoft internal use only.
Public event PropertyChanged Microsoft internal use only.

Top

Operators

  Name Description
Public operatorStatic member Equality(DataSourceCollection, DataSourceCollection) Microsoft internal use only.
Public operatorStatic member Equality(DataSourceCollection, IVsUICollection) Microsoft internal use only.
Public operatorStatic member Equality(IVsUICollection, DataSourceCollection) Microsoft internal use only.
Public operatorStatic member Inequality(DataSourceCollection, DataSourceCollection) Microsoft internal use only.
Public operatorStatic member Inequality(DataSourceCollection, IVsUICollection) Microsoft internal use only.
Public operatorStatic member Inequality(IVsUICollection, DataSourceCollection) Microsoft internal use only.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add Microsoft internal use only.
Explicit interface implemetationPrivate method IList.Contains Microsoft internal use only.
Explicit interface implemetationPrivate property ICollection.Count Microsoft internal use only.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Microsoft internal use only.
Explicit interface implemetationPrivate method IList.IndexOf Microsoft internal use only.
Explicit interface implemetationPrivate method IList.Insert Microsoft internal use only.
Explicit interface implemetationPrivate property IList.IsFixedSize Microsoft internal use only.
Explicit interface implemetationPrivate property IList.Item Microsoft internal use only.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Internal.VisualStudio.PlatformUI Namespace