Partilhar via


SPChangeTokenCollection Members

Include Protected Members
Include Inherited Members

Represents a collection of SPChangeToken objects.

The SPChangeTokenCollection type exposes the following members.

Constructors

  Name Description
Public method SPChangeTokenCollection() Initializes a new instance of the SPChangeTokenCollection class.
Public method SPChangeTokenCollection(String) Initializes a new instance of the SPChangeTokenCollection class based on its serialized form.

Top

Properties

  Name Description
Public property Count Gets the number of change tokens contained in the collection. (Overrides SPBaseCollection.Count.)
Public property Item[Guid] Gets the change token with the specified GUID from the collection of change token objects.
Public property Item[Int32] Gets the change token at the specified index in the collection of change token objects.
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method Add(SPChangeToken) Adds a change token to the collection.
Public method Add(SPChangeToken, Boolean) Adds a change token to the collection and optionally overwrites any existing change token in the collection.
Public method Delete Deletes the change token object with the specified ID from the collection.
Public method Equals Determines if the current instance is equal to another object of unknown type. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode Returns the hash code for this instance. (Overrides Object.GetHashCode().)
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPAutoSerializingObject.)
Public method ToString Gets the serialized string representation of the change token collection. (Overrides Object.ToString().)
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)

Top

Operators

  Name Description
Public operatorStatic member Equality Returns a Boolean value that indicates whether the two specified SPChangeTokenCollection objects are equal.
Public operatorStatic member Inequality Returns a Boolean value that indicates whether the two specified SPChangeTokenCollection objects are unequal.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPChangeTokenCollection Class

Microsoft.SharePoint Namespace