PluginComponent.OnNodeSelected Method (Compact 7)

3/12/2014

Override this method to react to the user selecting a node in the treeview.

Namespace: Microsoft.RemoteToolSdk.PluginComponents
Assembly: Microsoft.RemoteToolSdk (in microsoft.remotetoolsdk.dll)

Syntax

protected virtual void OnNodeSelected (
    PluginNode node
)
'Declaration
Protected Overridable Sub OnNodeSelected ( _
    node As PluginNode _
)

Parameters

  • node
    The node being selected.

Remarks

This method is called when a node is selected in the shell, before the view pane is made visible and the menus are changed. If another node is selected, the plug-in that owns that node will have its OnNodeUnselected method called first.

The plug-in object that owns the node will have the OnNodeSelected method called. If a node created by another plug-in gets selection, their class will have the method call, and not yours. If the node is created by the Remote Tools Framework (such as the Device node, or the "Live Data" node), then this method will not be called.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

PluginComponent Class
PluginComponent Members
Microsoft.RemoteToolSdk.PluginComponents Namespace