共用方式為


UIDataSourceCollection Class

Microsoft internal use only.

Inheritance Hierarchy

System.Object
  Microsoft.Internal.VisualStudio.PlatformUI.UIDispatch
    Microsoft.Internal.VisualStudio.PlatformUI.UISimpleDataSource
      Microsoft.Internal.VisualStudio.PlatformUI.UIDataSourceCollection
        Microsoft.Internal.VisualStudio.PlatformUI.UIDataSourceDynamicCollection

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

Syntax

'宣告
Public Class UIDataSourceCollection _
    Inherits UISimpleDataSource _
    Implements IVsUICollection, IVsUISimpleDataSource, IVsUIDispatch, IUIDispatch,  _
    IList(Of IVsUIDataSource), ICollection(Of IVsUIDataSource), IEnumerable(Of IVsUIDataSource),  _
    IEnumerable
public class UIDataSourceCollection : UISimpleDataSource, 
    IVsUICollection, IVsUISimpleDataSource, IVsUIDispatch, IUIDispatch, IList<IVsUIDataSource>, 
    ICollection<IVsUIDataSource>, IEnumerable<IVsUIDataSource>, IEnumerable

The UIDataSourceCollection type exposes the following members.

Constructors

  Name Description
Public method UIDataSourceCollection Microsoft internal use only.

Top

Properties

  Name Description
Public property Count Microsoft internal use only.
Protected property DataCollection Microsoft internal use only.
Public property IsReadOnly Microsoft internal use only.
Public property Item Microsoft internal use only.
Public property Verbs Microsoft internal use only. (Inherited from UIDispatch.)

Top

Methods

  Name Description
Public method Add Microsoft internal use only.
Public method AddCommand Microsoft internal use only. (Inherited from UIDispatch.)
Public method AddItem 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. (Overrides UISimpleDataSource.Close().)
Public method Contains Microsoft internal use only.
Public method CopyTo Microsoft internal use only.
Public method EnumVerbs Microsoft internal use only. (Inherited from UIDispatch.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method FireOnAfterItemAdded Microsoft internal use only.
Protected method FireOnAfterItemRemoved Microsoft internal use only.
Protected method FireOnAfterItemReplaced Microsoft internal use only.
Protected method FireOnInvalidateAllItems Microsoft internal use only.
Public method get_Count Microsoft internal use only.
Public method GetEnumerator Microsoft internal use only.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
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. (Inherited from UIDispatch.)
Public method Invoke(String, Object, Object%) Microsoft internal use only. (Inherited from UIDispatch.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove 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

Extension Methods

  Name Description
Public Extension Method Count (Defined by Utilities.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property ICollection<IVsUIDataSource>.Count Microsoft internal use only.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator 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