SPRequestManagementRuleCollection<T>.Contains 方法 (T)
如果规则包含在集合中,返回true 。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function Contains ( _
rule As T _
) As Boolean
用法
Dim instance As SPRequestManagementRuleCollection
Dim rule As T
Dim returnValue As Boolean
returnValue = instance.Contains(rule)
public bool Contains(
T rule
)
参数
rule
类型:T该规则。
返回值
类型:System.Boolean
true如果在集合中找到。
另请参阅
引用
SPRequestManagementRuleCollection<T> 类