SPFileVersionCollection members
Include protected members
Include inherited members
表示SPFileVersion物件的集合。
The SPFileVersionCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | 取得集合中的檔案版本的物件數目。 (Overrides SPBaseCollection.Count.) | |
File | 取得集合的父檔案物件。 | |
Item | 取得集合中指定之索引處的物件檔案版本。在 C# 中,這個屬性會是SPFileVersionCollection類別的索引子。 | |
Web | 取得集合的父檔案所屬的 SharePoint 網站。 |
Top
Methods
Name | Description | |
---|---|---|
Delete | 刪除集合中指定之索引處的檔案版本物件。 | |
DeleteAll | 刪除集合中的所有檔案版本物件。 | |
DeleteAllMinorVersions | 刪除所有次要檔案版本中的物件集合。 | |
DeleteByID | 從集合中移除指定的整數識別碼的檔案版本物件。 | |
DeleteByLabel | 刪除具有指定版本標籤的檔案版本物件。 | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | 取得列舉值來逐一查看集合。 (Inherited from SPBaseCollection.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
GetTypedEnumerator<T> | 傳回逐一查看集合的型別安全列舉值。 (Inherited from SPBaseCollection.) | |
GetVersionFromID | 傳回具有指定 ID 的檔案版本物件 | |
GetVersionFromLabel | 傳回具有指定的版本標籤的檔案版本物件。 | |
MemberwiseClone | (Inherited from Object.) | |
RecycleAll | 回收在集合中的所有檔案版本物件。 | |
RecycleAllMinorVersions | 回收所有的次要檔案版本物件,集合中。 | |
Restore | 還原檔案版本物件在集合中指定之索引處。 | |
RestoreByID(Int32) | 還原檔案版本物件具有指定之 ID 的集合。 | |
RestoreByID(Int32, String) | 還原檔案版本物件具有集合的指定的版本識別碼與指定的鎖定識別碼。 | |
RestoreByLabel | 還原檔案版本物件具有指定的版本標籤。 | |
ToString | (Inherited from Object.) |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
ICollection.CopyTo | 陣列,指定的陣列索引處開始複製集合的項目。 (Inherited from SPBaseCollection.) | |
ICollection.IsSynchronized | 取得布林值,這個值,指出對集合的存取是否同步處理或安全執行緒。 (Inherited from SPBaseCollection.) | |
ICollection.SyncRoot | 取得用於同步化存取集合的物件。 (Inherited from SPBaseCollection.) |
Top