Documents Class

Contains methods that can be used to add, update, and delete documents as well as retrieve document and document library information.
Inheritance Hierarchy
SystemObject
  BBNCExtensions.API.DocumentsDocuments

Namespace: BBNCExtensions.API.Documents
Assemblies:  BBNCExtensions (in BBNCExtensions.dll) Version: 6.10.0.0
  BBNCExtensions (in BBNCExtensions.dll) Version: 6.10.0.0
Syntax
public abstract class Documents

The Documents type exposes the following members.

Methods
  NameDescription
Public methodAddDocument
Add a document to an existing library.
Public methodDeleteDocument
Permanantly removes a document from the site.
Public methodGetDocumentInfo
Retrieve the DocumentInfo object for a given document.
Public methodGetDocumentLibraryInfo
Get the API.Documents.DocumentLibraryInfo object of the Document Library associated with a given Document Part.
Public methodGetDocumentLibraryInfoDirect
Get the API.Documents.DocumentLibraryInfo object of the specified Document Library. This direct approach does not require you have an associated content Part Id to retrieve the Library info, since document libraries may exist which are not explictly associating with a Documents Part.
Public methodGetDocumentURL
Returns the URL for an uploaded document.
Public methodGetLibaryDocuments
Returns info on every Document in a given library associated with a Documents part.
Public methodGetLibaryDocumentsDirect
Returns info on every Document in a given library, accessing the library directly by its id. This direct approach does not require you have an associated content Part Id to retrieve the Library documents, since document libraries may exist which are not explictly associating with a Documents Part.
Public methodUpdateDocument
Replace an existing document.