SPChangeTokenCollection constructor (String)

Initializes a new instance of the SPChangeTokenCollection class based on its serialized form.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    strChangeTokenCollection As String _
)
'Usage
Dim strChangeTokenCollection As String

Dim instance As New SPChangeTokenCollection(strChangeTokenCollection)
public SPChangeTokenCollection(
    string strChangeTokenCollection
)

Parameters

  • strChangeTokenCollection
    Type: System.String

    The change tokens in their serialized form.

Exceptions

Exception Condition
InvalidOperationException

The strChangeTokenCollection is not in the correct format. Use the ToString() method to create the serialized form of the collection.

Remarks

Use this constructor to reconstruct a change token collection after it has been serialized by the ToString() method. For an example showing how to reconstruct a collection after it has been persisted on disk, see the class overview.

See also

Reference

SPChangeTokenCollection class

SPChangeTokenCollection members

SPChangeTokenCollection overload

Microsoft.SharePoint namespace