Export (0) Print
Expand All

DTE2.Find Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the Find object that represents global text find operations.

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

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.
  DTE2.executecommand("File.NewFile", "c:\temp\test.txt")
  DTE2.Find.FindWhat = "mytest"
  MsgBox(DTE2.Find.FindWhat)
End Sub

Show:
© 2014 Microsoft