Share via


SPCopyDestinationCollection members

Represents a collection of SPCopyDestination objects.

The SPCopyDestinationCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of copy destinations in the collection. (Overrides SPBaseCollection.Count.)
Public property Item Gets the copy destination at the specified index in the collection of copy destination objects.

Top

Methods

  Name Description
Public method Add Adds a copy destination that is represented by the specified URL, destination type, and comment to the collection of copy destination objects.
Public method CopyTo Copies the elements of the copy destination collection to a one-dimensional array, starting at the specified index.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
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.)
Public method Remove(Guid) Deletes the copy destination object with the specified GUID from the collection of copy destination objects.
Public method Remove(Int32) Deletes the copy destination object with the specified index from the collection of copy destination objects.
Public method ToString (Inherited from Object.)

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

SPCopyDestinationCollection class

Microsoft.SharePoint namespace