SPRequestManagementRuleCollection<T>.Contains method (String)
Returns true if the rule name is found in the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function Contains ( _
name As String _
) As Boolean
'Usage
Dim instance As SPRequestManagementRuleCollection
Dim name As String
Dim returnValue As Boolean
returnValue = instance.Contains(name)
public bool Contains(
string name
)
Parameters
name
Type: System.StringThe rule.
Return value
Type: System.Boolean
true if found in the collection.
See also
Reference
SPRequestManagementRuleCollection<T> class