SPFolder members
Include protected members
Include inherited members
表示 SharePoint 網站上的資料夾。
The SPFolder type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Audit | 取得資料夾相關聯的稽核物件。 |
![]() |
ContainingDocumentLibrary | 取得如果有的話,識別包含該資料夾的文件庫的 GUID。 |
![]() |
ContentTypeOrder | 取得SPContentType物件的清單。 |
![]() |
DocumentLibrary | 如果該程式庫已存在,請取得包含該資料夾的文件庫。 |
![]() |
EffectiveAuditMask | 取得有效的稽核遮罩的資料夾物件。 |
![]() |
EffectiveRawPermissions | 取得目前使用者的基底的權限。 |
![]() |
Exists | 取得布林值,這個值,指出資料夾是否存在。 |
![]() |
Files | 取得資料夾所含全部檔案的集合。 |
![]() |
Item | 取得對應到資料夾的SPListItem物件。 |
![]() |
ItemCount | 取得包含子資料夾,此資料夾中的直接子系數目。 |
![]() |
Name | 取得資料夾的名稱。 |
![]() |
ParentFolder | 取得資料夾的上層資料夾。 |
![]() |
ParentListId | 取得父清單的資料夾中的 ID。 |
![]() |
ParentWeb | 取得父網站的資料夾。 |
![]() |
ProgID | 取得應用程式建立資料夾的識別項 (ID)。 |
![]() |
Properties | 取得包含資料夾的中繼資料的雜湊資料表。 |
![]() |
RequiresCheckout | 取得值,這個值,指出是否需要簽出的文件媒體櫃中的資料夾。 |
![]() |
ServerRelativeUrl | 取得資料夾的伺服器相對 URL。 |
![]() |
SubFolders | 取得包含在該資料夾內的子資料夾的集合。 |
![]() |
UniqueContentTypeOrder | 取得或設定內容型別物件的清單。 |
![]() |
UniqueId | 取得資料夾的唯一 ID。 |
![]() |
Url | 取得資料夾的 Web 站台相對 URL。 |
![]() |
WelcomePage | 取得或設定的使用者重新導向瀏覽到資料夾時的 URL。 |
Top
Methods
Name | Description | |
---|---|---|
![]() |
AddProperty | 將具有指定索引鍵/值組的項目,加入資料夾的中繼資料。 |
![]() |
CopyTo | 將資料夾和其內容複製到新的資料夾,在指定的 URL。 |
![]() |
Delete | 刪除的資料夾。 |
![]() |
DeleteProperty | 具有指定之索引鍵從中繼資料的資料夾中刪除項目。 |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetProperty | 取得項目的值與指定的索引鍵從中繼資料的資料夾。 |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
MoveTo | 將資料夾和其內容移至新的資料夾,在指定的 URL。 |
![]() |
Recycle | 將資料夾傳送到 [資源回收筒]。 |
![]() |
SetProperty | 設定資料夾與中繼資料中指定的索引鍵之項目的值。 |
![]() |
ToString | 傳回根據父網站的資料夾的相對 URL。 (Overrides Object.ToString().) |
![]() |
Update | 資料夾所做的變更來更新資料庫。 |
Top