共用方式為


EcmDocumentRouterRuleCollection.Remove Method

Removes the specified EcmDocumentRouterRule object from the EcmDocumentRouterRuleCollection object.

Namespace:  Microsoft.Office.RecordsManagement.RecordsRepository
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function Remove ( _
    rule As EcmDocumentRouterRule _
) As Boolean
'Usage
Dim instance As EcmDocumentRouterRuleCollection
Dim rule As EcmDocumentRouterRule
Dim returnValue As Boolean

returnValue = instance.Remove(rule)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public bool Remove(
    EcmDocumentRouterRule rule
)

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

Implements

ICollection<T>.Remove(T)

See Also

Reference

EcmDocumentRouterRuleCollection Class

EcmDocumentRouterRuleCollection Members

Microsoft.Office.RecordsManagement.RecordsRepository Namespace