Export (0) Print
Expand All

SPFolder Members

Windows SharePoint Services 3

Represents a folder on a SharePoint Web site.

The SPFolder type exposes the following members.

  NameDescription
Public property Audit Gets the auditing object associated with the folder.
Public property ContainingDocumentLibrary Gets the document library that contains the folder, if one exists.
Public property ContentTypeOrder Gets an ordered list of content types.
Public property Exists Gets a Boolean value that indicates whether the folder exists.
Public property Files Gets the collection of all files contained in the folder.
Public property Item Gets the SPListItem object corresponding to the folder.
Public property Name Gets the name of the folder.
Public property ParentFolder Gets the parent folder of the folder.
Public property ParentListId Gets the ID for the parent list of the folder.
Public property ParentWeb Gets the parent Web site of the folder.
Public property Properties Gets a hash table that contains metadata for the folder.
Public property ServerRelativeUrl Gets the server-relative URL of the folder.
Public property SubFolders Gets the collection of subfolders contained within the folder.
Public property UniqueContentTypeOrder Sets or gets an ordered list of content types.
Public property UniqueId Gets the unique ID of the folder.
Public property Url Gets the Web site-relative URL of the folder.
Public property WelcomePage Gets or sets the URL to which users are redirected when they browse to the folder.
Top

  NameDescription
Public method CopyTo Copies the folder and its contents into a new folder at the specified URL.
Public method Delete Deletes the folder.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MoveTo Moves the folder and its contents to a new folder at the specified URL.
Public method Recycle Sends the folder to the recycle bin.
Public method ToString Returns the relative URL of the folder based on the parent Web site. (Overrides Object.ToString().)
Public method Update Updates the database with changes made to the folder.
Top

Community Additions

ADD
Show:
© 2014 Microsoft