INodeExtender.ProvideCommandHandler(WorkspaceVisualNodeBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.