DTE2.Find Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Find object that represents global text find operations.
public:
property EnvDTE::Find ^ Find { EnvDTE::Find ^ get(); };
public:
property EnvDTE::Find ^ Find { EnvDTE::Find ^ get(); };
[System.Runtime.InteropServices.DispId(229)]
public EnvDTE.Find Find { [System.Runtime.InteropServices.DispId(229)] get; }
[<System.Runtime.InteropServices.DispId(229)>]
[<get: System.Runtime.InteropServices.DispId(229)>]
member this.Find : EnvDTE.Find
Public ReadOnly Property Find As Find
Property Value
A Find object.
Implements
- Attributes
Examples
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