Freigeben über


DTE2.Find-Eigenschaft

Ruft das Find-Objekt ab, das globale Operationen für die Textsuche darstellt.

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 with get
function get Find () : Find

Eigenschaftswert

Typ: Find
Ein Find-Objekt.

Beispiele

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-Sicherheit

Siehe auch

Referenz

DTE2 Schnittstelle

EnvDTE80-Namespace