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 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'Declaration
Public Property KeepNode As Boolean
'Usage
Dim instance As ExplorerTreeNode 
Dim value As Boolean 

value = instance.KeepNode

instance.KeepNode = value
public bool KeepNode { get; set; }
public:
property bool KeepNode {
    bool get ();
    void set (bool value);
}
public function get KeepNode () : boolean 
public function set KeepNode (value : boolean)

Property Value

Type: System.Boolean
The node to keep.

.NET Framework Security

See Also

Reference

ExplorerTreeNode Class

ExplorerTreeNode Members

Microsoft.VisualStudio.Modeling.Shell Namespace