Share via


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

Return value

Type: System.Boolean
true if found in the collection.

See also

Reference

SPRequestManagementRuleCollection<T> class

SPRequestManagementRuleCollection<T> members

Contains overload

Microsoft.SharePoint.Administration namespace