返回当前筛选级别。
命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)
语法
声明
Function GetFilterLevel ( _
<OutAttribute> ByRef iFilterLevel As Integer _
) As Integer
int GetFilterLevel(
out int iFilterLevel
)
int GetFilterLevel(
[OutAttribute] int% iFilterLevel
)
abstract GetFilterLevel :
iFilterLevel:int byref -> int
function GetFilterLevel(
iFilterLevel : int
) : int
参数
iFilterLevel
类型:Int32%[out] 返回当前筛选级别。
返回值
类型:Int32
如果成功,则返回 S_OK。如果没有筛选器,返回 S_FALSE;否则,返回错误代码。
备注
COM 签名
从 textmgr2.idl:
HRESULT IVsCompletionSetEx::GetFilterLevel(
[out] long *iFilterLevel
);
筛选级别确定哪个选项、 常见 (筛选级别等于 0) 或 任何 (筛选级别等于 1),则将显示。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。