_DTE.Find Property
Visual Studio 2015
Gets the Find object that represents global text find operations.
Assembly: EnvDTE (in EnvDTE.dll)
Sub FindExample() 'Creates a text file, searches for a string, and then displays it. DTE.executecommand("File.NewFile", "c:\temp\test.txt") DTE.Find.FindWhat = "mytest" MsgBox(DTE.Find.FindWhat) End Sub
Show: