Condividi tramite


DocumentSetVersionCollection Members

Include Protected Members
Include Inherited Members

Represents a collection of DocumentSetVersion snapshot objects.

The DocumentSetVersionCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of snapshots in the DocumentSetVersionCollection collection.
Public property Folder Gets the foot folder of the DocumentSet object.
Public property Item[Int32] Gets the snapshot at the specified index in the DocumentSetVersionCollection object.
Public property Item[String] Gets the snapshot with the specified label from the DocumentSetVersionCollection object.
Public property List Gets the parent SPList object of the DocumentSet object to which this collection belongs.

Top

Methods

  Name Description
Public method Add Captures the snapshot of the current T:Microsoft.Office.DocumentManagement.DocumentSets.DocumentSet object with the specified settings and stores the result in the collection.
Public method Contains Determines whether the collection contains a document set snapshot with the specified label.
Public method DeleteAll Deletes all the previous snapshots.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator to iterate through the DocumentSetVersionCollection object.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Restore Restores the document set metadata and items versions to the specified snapshot.
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable<DocumentSetVersion>.GetEnumerator Gets an enumerator to iterate through the collection.

Top

See Also

Reference

DocumentSetVersionCollection Class

Microsoft.Office.DocumentManagement.DocumentSets Namespace