This documentation is archived and is not being maintained.

Find Property (DTE Object)

Visual Studio .NET 2003

Returns the Find object that represents global text find operations.

[Visual Basic .NET]
Public ReadOnly Property Find() As Find
[Visual Basic 6]
Property Get Find() As Find
HRESULT __stdcall get_Find(
   /* [out, retval] */ Find** retVal
public Find Find {get;}
[JScript .NET]
public function get Find() : Find

Return Value

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

See Also

Applies To: DTE Object