Поделиться через


DTE2.Find Property

Gets the Find object that represents global text find operations.

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

Syntax

'Declaration
ReadOnly Property Find As Find
Find Find { get; }
property Find^ Find {
    Find^ get ();
}
abstract Find : Find
function get Find () : Find

Property Value

Type: EnvDTE.Find
A Find object.

Implements

_DTE.Find

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

.NET Framework Security

See Also

Reference

DTE2 Interface

EnvDTE80 Namespace