OnAfterLocateProjectItemResult Method (OperationBase)

Top  Previous  Next

This method can be overridden to perform some action after the user has located a node of the kind 'project item' in the result window. Typically this is done in operations that are reviews and that want to offer to the user a way to correct the result after it has been located.

Signature

[VB.NET]

Sub OnAfterLocateProjectItemResult(ByVal adminOptions As AdminOptionsBase, ByVal userOptions As UserOptions, ByVal projectItem As EnvDTE.ProjectItem, ByVal customValue As Object)

[C#]

void OnAfterLocateProjectItemResult(AdminOptionsBase adminOptions, UserOptions userOptions, EnvDTE.ProjectItem projectItem, object customValue)

Parameters

  • adminOptions: the admin options used by the operation, if any.
  • userOptions: the user options used by the operation.
  • projectItem: the project item that has been located.
  • customValue: a custom, user-defined value stored in the result node, that was added in the call to the AddNodeToResultsTree method.