HierarchyTreeFilterProvider.HierarchyTreeFilter 类
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.
继承层次结构
System.Object
Microsoft.VisualStudio.PlatformUI.DisposableObject
Microsoft.VisualStudio.Shell.HierarchyTreeFilterProvider.HierarchyTreeFilter
命名空间: Microsoft.VisualStudio.Shell
程序集: Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
语法
声明
Protected MustInherit Class HierarchyTreeFilter _
Inherits DisposableObject _
Implements ISolutionTreeFilter, IDisposable, ISupportInitializeNotification, ISupportInitialize, _
INotifyPropertyChanged
protected abstract class HierarchyTreeFilter : DisposableObject,
ISolutionTreeFilter, IDisposable, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged
HierarchyTreeFilterProvider.HierarchyTreeFilter 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
HierarchyTreeFilterProvider.HierarchyTreeFilter | Initializes a new instance of the HierarchyTreeFilterProvider.HierarchyTreeFilter class. |
页首
属性
名称 | 说明 | |
---|---|---|
CancellationToken | Gets a CancellationToken that will be cancelled when this filter is disposed. | |
IncludedItems | Gets the set of items that are included by the filter. | |
IsDisposed | 仅由 Microsoft 内部使用。 (继承自 DisposableObject。) | |
IsInitialized | Gets a value indicating whether the component is initialized. |
页首
方法
名称 | 说明 | |
---|---|---|
Dispose() | 仅由 Microsoft 内部使用。 (继承自 DisposableObject。) | |
Dispose(Boolean) | 仅由 Microsoft 内部使用。 (继承自 DisposableObject。) | |
DisposeManagedResources | Allows derived classes to provide custom dispose handling for managed resources. (重写 DisposableObject.DisposeManagedResources()。) | |
DisposeNativeResources | 仅由 Microsoft 内部使用。 (继承自 DisposableObject。) | |
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) | |
Finalize | 仅由 Microsoft 内部使用。 (继承自 DisposableObject。) | |
GetFilterDescendantsBehavior | Indicates whether to include descendants if none are explicitly specified. | |
GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) | |
GetIncludedItemsAsync | ||
GetType | 获取当前实例的 Type。 (继承自 Object。) | |
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | |
ThrowIfDisposed | 仅由 Microsoft 内部使用。 (继承自 DisposableObject。) | |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
事件
名称 | 说明 | |
---|---|---|
Disposing | 仅由 Microsoft 内部使用。 (继承自 DisposableObject。) | |
Initialized | Occurs when initialization of the component is completed. | |
PropertyChanged | Occurs when a property value changes. |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
ISupportInitialize.BeginInit | Signals the object that initialization is starting. | |
ISupportInitialize.EndInit | Signals the object that initialization is complete. |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。