_DTE::Find Property

 

Gets the Find object that represents global text find operations.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

property Find^ Find {
	Find^ get();
}

Property Value

Type: EnvDTE::Find^

A Find object.

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
Return to top
Show: