Partilhar via


SPChangeTokenCollection.Add Method (SPChangeToken)

Adds a change token to the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub Add ( _
    changeToken As SPChangeToken _
)
'Usage
Dim instance As SPChangeTokenCollection
Dim changeToken As SPChangeToken

instance.Add(changeToken)
public void Add(
    SPChangeToken changeToken
)

Parameters

Exceptions

Exception Condition
ArgumentException

A change token with the same ScopeId already exists in the collection.

See Also

Reference

SPChangeTokenCollection Class

SPChangeTokenCollection Members

Add Overload

Microsoft.SharePoint Namespace