SPRequestManagementRuleCollection<T>.Contains method (String)
如果集合中找到該規則名稱,則會傳回true 。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function Contains ( _
name As String _
) As Boolean
'用途
Dim instance As SPRequestManagementRuleCollection
Dim name As String
Dim returnValue As Boolean
returnValue = instance.Contains(name)
public bool Contains(
string name
)
參數
name
Type: System.String規則。
傳回值
Type: System.Boolean
true如果集合中找到。
請參閱
參照
SPRequestManagementRuleCollection<T> class