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