SPFolder methods

The SPFolder type exposes the following members.

Methods

  Name Description
Public method AddProperty Adds an element with the specified key/value pair to the metadata for the folder.
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 DeleteProperty Deletes the element with the specified key from the metadata for the folder.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetProperty Gets the value of the element with the specified key from the metadata for the folder.
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 SetProperty Sets the value of the element with the specified key in the metadata for the folder.
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

See also

Reference

SPFolder class

Microsoft.SharePoint namespace