指定支持哪个搜索选项。
命名空间: Microsoft.VisualStudio.Modeling.Shell
程序集: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)
语法
声明
Public Function GetCapabilities ( _
pfImage As Boolean(), _
pgrfOptions As UInteger() _
) As Integer
public int GetCapabilities(
bool[] pfImage,
uint[] pgrfOptions
)
参数
- pfImage
类型:array<System.Boolean[]
如果 IVsTextImage 受到支持,则为 true;否则,为 false。
- pgrfOptions
类型:array<System.UInt32[]
支持选项。
返回值
类型:System.Int32
如果支持搜索选项 S_OK。
实现
IVsFindTarget.GetCapabilities(array<Boolean[], array<UInt32[])
备注
默认情况下,IVsTextImage 不受支持。
此方法是 IVsFindTarget 接口的一部分。 可以为 ( 查找 和 查找/替换使用此接口的所有选项。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。