This documentation is archived and is not being maintained.

DTE2.Find Property 

Gets the Find object that represents global text find operations.

Namespace: EnvDTE80
Assembly: EnvDTE80 (in envdte80.dll)

Find Find { get; }
/** @property */
Find get_Find ()

function get Find () : Find

Property Value

A Find object.

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"
End Sub