Compartilhar via


INodeExtender2.ProvideAction(WorkspaceVisualNodeBase) Method

Definition

Return an action for a node when enter/double-click

public:
 Func<System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Workspace::VSIntegration::UI::WorkspaceVisualNodeBase ^> ^, bool, System::String ^, bool> ^ ProvideAction(Microsoft::VisualStudio::Workspace::VSIntegration::UI::WorkspaceVisualNodeBase ^ node);
public Func<System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase>,bool,string,bool> ProvideAction (Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase node);
abstract member ProvideAction : Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase -> Func<seq<Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase>, bool, string, bool>
Public Function ProvideAction (node As WorkspaceVisualNodeBase) As Func(Of IEnumerable(Of WorkspaceVisualNodeBase), Boolean, String, Boolean)

Parameters

node
WorkspaceVisualNodeBase

The node being invoked

Returns

Callback to use for the node

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