SPRequestManagementRuleCollection<T>.Contains method (T)
如果集合中找到的規則,則會傳回true 。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
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
Type: T規則。
傳回值
Type: System.Boolean
true如果集合中找到。
請參閱
參照
SPRequestManagementRuleCollection<T> class