INodeExtender2.ProvideAction(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.
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
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.