OnExecuteOperationInTextRange Method (OperationBase) |
Top Previous Next |
|
This method must be overridden in order to perform the operation in a text range if the operation can use the Procedure or Selected Text scopes, that is, if scope of the user options is set to AskUserIncludingProcedureAndSelectionScopes. In this case the OnExecuteOperationInProjectItem method that you must always override can call this method to perform the operation in a single place. Signature [VB.NET] Sub OnExecuteOperationInTextRange(ByVal adminOptions As AdminOptionsBase, ByVal userOptions As UserOptions, ByVal projectItem As EnvDTE.ProjectItem, ByVal startEditPoint As EnvDTE.EditPoint, ByVal endEditPoint As EnvDTE.EditPoint, ByRef cancel As Boolean) [C#] void OnExecuteOperationInTextRange(AdminOptionsBase adminOptions, UserOptions userOptions, EnvDTE.ProjectItem projectItem, EnvDTE.EditPoint startEditPoint, EnvDTE.EditPoint endEditPoint, ref bool cancel) Parameters
|