다음을 통해 공유


SPRequestManagementRuleCollection<T>.Contains method (T)

Returns true if the rule is found in the collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function Contains ( _
    rule As T _
) As Boolean
'Usage
Dim instance As SPRequestManagementRuleCollection
Dim rule As T
Dim returnValue As Boolean

returnValue = instance.Contains(rule)
public bool Contains(
    T rule
)

Parameters

  • rule
    Type: T

    The rule.

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