EcmDocumentRouterRuleCollection.Contains Method
Lists the rules that the specified SPList contains.
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function Contains ( _
rule As EcmDocumentRouterRule _
) As Boolean
'Usage
Dim instance As EcmDocumentRouterRuleCollection
Dim rule As EcmDocumentRouterRule
Dim returnValue As Boolean
returnValue = instance.Contains(rule)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public bool Contains(
EcmDocumentRouterRule rule
)
Parameters
rule
Type: Microsoft.Office.RecordsManagement.RecordsRepository.EcmDocumentRouterRuleThe rule.
Return Value
Type: System.Boolean
Returns Boolean.
Implements
See Also
Reference
EcmDocumentRouterRuleCollection Class
EcmDocumentRouterRuleCollection Members
Microsoft.Office.RecordsManagement.RecordsRepository Namespace