共用方式為


SPPolicyCollection.Remove Method (Int32)

Removes the user or group from the collection based on the specified collection index.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub Remove ( _
    index As Integer _
)
'Usage
Dim instance As SPPolicyCollection
Dim index As Integer

instance.Remove(index)
public void Remove(
    int index
)

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the zero-based index of the principal to remove from the collection.

See Also

Reference

SPPolicyCollection Class

SPPolicyCollection Members

Remove Overload

Microsoft.SharePoint.Administration Namespace