_DTE.Find Property
Gets the Find object that represents global text find operations.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
ReadOnly Property Find As Find
'Usage
Dim instance As _DTE
Dim value As Find
value = instance.Find
Find Find { get; }
property Find^ Find {
Find^ get ();
}
function get Find () : Find
Property Value
Type: EnvDTE.Find
A Find object.
Examples
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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.