OnAfterLocateCodeElementResult Method (OperationBase)

Top  Previous  Next

This method can be overridden to perform some action after the user has located a node of the kind 'code element' 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 OnAfterLocateComponentResult(ByVal adminOptions As AdminOptionsBase, ByVal userOptions As UserOptions, ByVal codeElement As EnvDTE.CodeElement, ByVal customValue As Object)

[C#]

void OnAfterLocateComponentResult(AdminOptionsBase adminOptions, UserOptions userOptions, EnvDTE.CodeElement codeElement, object customValue)

Parameters

  • adminOptions: the admin options used by the operation, if any.
  • userOptions: the user options used by the operation.
  • codeElement: the code element 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.