Share via


ExplorerTreeNode.KeepNode Property

Gets or sets the node to keep when you update (prune) the navigation tree.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public Property KeepNode As Boolean
public bool KeepNode { get; set; }
public:
property bool KeepNode {
    bool get ();
    void set (bool value);
}
member KeepNode : bool with get, set
function get KeepNode () : boolean 
function set KeepNode (value : boolean)

Property Value

Type: System.Boolean
The node to keep.

.NET Framework Security

See Also

Reference

ExplorerTreeNode Class

Microsoft.VisualStudio.Modeling.Shell Namespace