Share via


DTE2.Find プロパティ

グローバル テキスト検索処理を表す Find オブジェクトを取得します。

名前空間:  EnvDTE80
アセンブリ:  EnvDTE80 (EnvDTE80.dll 内)

構文

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

プロパティ値

型 : Find
Find オブジェクト。

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 セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

DTE2 インターフェイス

EnvDTE80 名前空間