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 命名空间