HierarchyTreeFilterProvider.HierarchyTreeFilter, classe

Base class that implements some of the boilerplate parts of an ISolutionTreeFilter. This includes behavior to ensure newly-added hierarchy items are always visible through the filtered view, even if those items do not match the filter. Derived types must still implement the logic for constructing the set of included items.

Hiérarchie d'héritage

System.Object
  Microsoft.VisualStudio.PlatformUI.DisposableObject
    Microsoft.VisualStudio.Shell.HierarchyTreeFilterProvider.HierarchyTreeFilter

Espace de noms :  Microsoft.VisualStudio.Shell
Assembly :  Microsoft.VisualStudio.Shell.11.0 (dans Microsoft.VisualStudio.Shell.11.0.dll)

Syntaxe

'Déclaration
Protected MustInherit Class HierarchyTreeFilter _
    Inherits DisposableObject _
    Implements ISolutionTreeFilter, IDisposable, ISupportInitializeNotification, ISupportInitialize,  _
    INotifyPropertyChanged
protected abstract class HierarchyTreeFilter : DisposableObject, 
    ISolutionTreeFilter, IDisposable, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged

Le type HierarchyTreeFilterProvider.HierarchyTreeFilter expose les membres suivants.

Constructeurs

  Nom Description
Méthode protégée HierarchyTreeFilterProvider.HierarchyTreeFilter Initializes a new instance of the HierarchyTreeFilterProvider.HierarchyTreeFilter class.

Début

Propriétés

  Nom Description
Propriété protégée CancellationToken Gets a CancellationToken that will be cancelled when this filter is disposed.
Propriété publique IncludedItems Gets the set of items that are included by the filter.
Propriété publique IsDisposed Réservé à un usage interne Microsoft. (Hérité de DisposableObject.)
Propriété publique IsInitialized Gets a value indicating whether the component is initialized.

Début

Méthodes

  Nom Description
Méthode publique Dispose() Réservé à un usage interne Microsoft. (Hérité de DisposableObject.)
Méthode protégée Dispose(Boolean) Réservé à un usage interne Microsoft. (Hérité de DisposableObject.)
Méthode protégée DisposeManagedResources Allows derived classes to provide custom dispose handling for managed resources. (Substitue DisposableObject.DisposeManagedResources().)
Méthode protégée DisposeNativeResources Réservé à un usage interne Microsoft. (Hérité de DisposableObject.)
Méthode publique Equals Détermine si l'objet Object spécifié est égal à l'objet Object actuel. (Hérité de Object.)
Méthode protégée Finalize Réservé à un usage interne Microsoft. (Hérité de DisposableObject.)
Méthode publique GetFilterDescendantsBehavior Indicates whether to include descendants if none are explicitly specified.
Méthode publique GetHashCode Sert de fonction de hachage pour un type particulier. (Hérité de Object.)
Méthode protégée GetIncludedItemsAsync Asynchronously initializes and returns the set of items that are included by the filter.
Méthode publique GetType Obtient le Type de l'instance actuelle. (Hérité de Object.)
Méthode protégée MemberwiseClone Crée une copie superficielle de l'objet Object actuel. (Hérité de Object.)
Méthode protégée ThrowIfDisposed Réservé à un usage interne Microsoft. (Hérité de DisposableObject.)
Méthode publique ToString Retourne une chaîne qui représente l'objet actuel. (Hérité de Object.)

Début

Événements

  Nom Description
Événement public Disposing Réservé à un usage interne Microsoft. (Hérité de DisposableObject.)
Événement public Initialized Occurs when initialization of the component is completed.
Événement public PropertyChanged Occurs when a property value changes.

Début

Implémentations d'interface explicite

  Nom Description
Implémentation d'interface expliciteMéthode privée ISupportInitialize.BeginInit Signals the object that initialization is starting.
Implémentation d'interface expliciteMéthode privée ISupportInitialize.EndInit Signals the object that initialization is complete.

Début

Sécurité des threads

Tous les membres static (Shared en Visual Basic) publics de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.

Voir aussi

Référence

Microsoft.VisualStudio.Shell, espace de noms