指定支持哪些选项。
命名空间: Microsoft.VisualStudio.Modeling.Shell
程序集: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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;否则,错误。
- pgrfOptions
类型:array<System.UInt32[]
支持选项。
返回值
类型:System.Int32
S_OK ,如果搜索选项支持。
实现
IVsFindTarget.GetCapabilities(array<Boolean[], array<UInt32[])
备注
默认情况下, IVsTextImage 不受支持。
此方法是 IVsFindTarget 接口的一部分。可以为除 查找 和 查找/替换的此接口使用所有选项。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。