共用方式為


ISolutionTreeFilter Interface

A filter that controls a collection of items that should be included in the filtered tree.

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

Syntax

'宣告
Public Interface ISolutionTreeFilter _
    Inherits IDisposable, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged
public interface ISolutionTreeFilter : IDisposable, 
    ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged

The ISolutionTreeFilter type exposes the following members.

Properties

  Name Description
Public property IncludedItems Gets the set of items that are included by the filter.
Public property IsInitialized Gets a value indicating whether the component is initialized. (Inherited from ISupportInitializeNotification.)

Top

Methods

  Name Description
Public method BeginInit Signals the object that initialization is starting. (Inherited from ISupportInitialize.)
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public method EndInit Signals the object that initialization is complete. (Inherited from ISupportInitialize.)
Public method GetFilterDescendantsBehavior Determines whether to include descendants if none are explicitly specified.

Top

Events

  Name Description
Public event Initialized Occurs when initialization of the component is completed. (Inherited from ISupportInitializeNotification.)
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

Remarks

When the filter is no longer needed, the tree control will dispose the filter.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace