INodeExtender.ProvideCommandHandler(WorkspaceVisualNodeBase) Method

Definition

if applicable provides a node with a command handler.

public:
 Microsoft::VisualStudio::Workspace::VSIntegration::UI::IWorkspaceCommandHandler ^ ProvideCommandHandler(Microsoft::VisualStudio::Workspace::VSIntegration::UI::WorkspaceVisualNodeBase ^ parentNode);
public Microsoft.VisualStudio.Workspace.VSIntegration.UI.IWorkspaceCommandHandler ProvideCommandHandler (Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase parentNode);
public Microsoft.VisualStudio.Workspace.VSIntegration.UI.IWorkspaceCommandHandler? ProvideCommandHandler (Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase parentNode);
abstract member ProvideCommandHandler : Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase -> Microsoft.VisualStudio.Workspace.VSIntegration.UI.IWorkspaceCommandHandler
Public Function ProvideCommandHandler (parentNode As WorkspaceVisualNodeBase) As IWorkspaceCommandHandler

Parameters

parentNode
WorkspaceVisualNodeBase

node to extend

Returns

command handler, or null

Remarks

Implementations of this method should be free-threaded, i.e. callers of this method should be able to call it from any thread.

Applies to