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
changeToken
Type: Microsoft.SharePoint.SPChangeTokenThe change token to add.
Exceptions
Exception | Condition |
---|---|
ArgumentException | A change token with the same ScopeId already exists in the collection. |