Méthode | Description | |
---|---|---|
CreateDirectory ( string path, string name ) : bool |
Creates a new Directory. If path is "/my/directory" and name is "newdir", a new directory named "/my/directory/newdir" is created. |
|
DeleteDirectory ( string fullPath ) : bool |
Deletes a Directory and all of its content.
|
|
DeleteFile ( string fullName ) : bool |
Deletes a File.
|
|
DeletePageAttachment ( System.PageInfo pageInfo, string name ) : bool |
Deletes a Page Attachment.
|
|
GetFileDetails ( string fullName ) : |
Gets the details of a file.
|
|
GetPageAttachmentDetails ( System.PageInfo pageInfo, string name ) : |
Gets the details of a page attachment.
|
|
GetPagesWithAttachments ( ) : string[] |
The the names of the pages with attachments.
|
|
ListDirectories ( string directory ) : string[] |
Lists the Directories in the specified directory.
|
|
ListFiles ( string directory ) : string[] |
Lists the Files in the specified Directory.
|
|
ListPageAttachments ( System.PageInfo pageInfo ) : string[] |
Returns the names of the Attachments of a Page.
|
|
NotifyPageRenaming ( System.PageInfo oldPage, System.PageInfo newPage ) : void |
Notifies the Provider that a Page has been renamed.
|
|
RenameDirectory ( string oldFullPath, string newFullPath ) : bool |
Renames or moves a Directory.
|
|
RenameFile ( string oldFullName, string newFullName ) : bool |
Renames or moves a File.
|
|
RenamePageAttachment ( System.PageInfo pageInfo, string oldName, string newName ) : bool |
Renames a Page Attachment.
|
|
RetrieveFile ( string fullName, System destinationStream, bool countHit ) : bool |
Retrieves a File.
|
|
RetrievePageAttachment ( System.PageInfo pageInfo, string name, System destinationStream, bool countHit ) : bool |
Retrieves a Page Attachment.
|
|
SetFileRetrievalCount ( string fullName, int count ) : void |
Sets the number of times a file was retrieved.
|
|
SetPageAttachmentRetrievalCount ( System.PageInfo pageInfo, string name, int count ) : void |
Sets the number of times a page attachment was retrieved.
|
|
StoreFile ( string fullName, System sourceStream, bool overwrite ) : bool |
Stores a file. If overwrite is |
|
StorePageAttachment ( System.PageInfo pageInfo, string name, System sourceStream, bool overwrite ) : bool |
Stores a Page Attachment. If overwrite is |
Méthode | Description | |
---|---|---|
AttachmentExists ( |
Determines whether a page attachment exists.
|
|
AttachmentExists ( |
Determines whether a page attachment exists.
|
|
DeleteDirectory ( |
Deletes a directory and all its contents.
|
|
DirectoryExists ( |
Determines whether a directory exists. The root directory always exists. |
|
DirectoryExists ( |
Determines whether a directory exists. The root directory always exists. |
|
FileExists ( |
Determines whether a file exists.
|
|
FileExists ( |
Determines whether a file exists.
|
|
ListDirectories ( |
Lists the Directories in the specified directory.
|
|
ListDirectories ( |
Lists the Directories in the specified directory.
|
|
ListPageAttachments ( |
Returns the names of the Attachments of a Page.
|
|
ListPageAttachments ( |
Returns the names of the Attachments of a Page.
|
|
PrepareDirectory ( string directory ) : string |
Prepares the directory name.
|
|
RenameDirectory ( |
Renames or moves a Directory.
|
|
SplitFileFullName ( string fullName, string &directory, string &file ) : void |
Splits a file full name into the directory and file parts.
|
public CreateDirectory ( string path, string name ) : bool | ||
path | string | The path to create the new Directory in. |
name | string | The name of the new Directory. |
Résultat | bool |
public DeleteDirectory ( string fullPath ) : bool | ||
fullPath | string | The full path of the Directory. |
Résultat | bool |
public DeleteFile ( string fullName ) : bool | ||
fullName | string | The full name of the File. |
Résultat | bool |
public DeletePageAttachment ( System.PageInfo pageInfo, string name ) : bool | ||
pageInfo | System.PageInfo | The Page Info that owns the Attachment. |
name | string | The name of the Attachment, for example "myfile.jpg". |
Résultat | bool |
public GetFileDetails ( string fullName ) : |
||
fullName | string | The full name of the file. |
Résultat |
public GetPageAttachmentDetails ( System.PageInfo pageInfo, string name ) : |
||
pageInfo | System.PageInfo | The page that owns the attachment. |
name | string | The name of the attachment, for example "myfile.jpg". |
Résultat |
public GetPagesWithAttachments ( ) : string[] | ||
Résultat | string[] |
public ListDirectories ( string directory ) : string[] | ||
directory | string | The full directory name, for example "/my/directory". Null, empty or "/" for the root directory. |
Résultat | string[] |
public ListFiles ( string directory ) : string[] | ||
directory | string | The full directory name, for example "/my/directory". Null, empty or "/" for the root directory. |
Résultat | string[] |
public ListPageAttachments ( System.PageInfo pageInfo ) : string[] | ||
pageInfo | System.PageInfo | The Page Info object that owns the Attachments. |
Résultat | string[] |
public NotifyPageRenaming ( System.PageInfo oldPage, System.PageInfo newPage ) : void | ||
oldPage | System.PageInfo | The old Page Info object. |
newPage | System.PageInfo | The new Page Info object. |
Résultat | void |
public RenameDirectory ( string oldFullPath, string newFullPath ) : bool | ||
oldFullPath | string | The old full path of the Directory. |
newFullPath | string | The new full path of the Directory. |
Résultat | bool |
public RenameFile ( string oldFullName, string newFullName ) : bool | ||
oldFullName | string | The old full name of the File. |
newFullName | string | The new full name of the File. |
Résultat | bool |
public RenamePageAttachment ( System.PageInfo pageInfo, string oldName, string newName ) : bool | ||
pageInfo | System.PageInfo | The Page Info that owns the Attachment. |
oldName | string | The old name of the Attachment. |
newName | string | The new name of the Attachment. |
Résultat | bool |
public RetrieveFile ( string fullName, System destinationStream, bool countHit ) : bool | ||
fullName | string | The full name of the File. |
destinationStream | System | A Stream object used as destination of a byte stream, /// i.e. the method writes to the Stream the file content. |
countHit | bool | A value indicating whether or not to count this retrieval in the statistics. |
Résultat | bool |
public RetrievePageAttachment ( System.PageInfo pageInfo, string name, System destinationStream, bool countHit ) : bool | ||
pageInfo | System.PageInfo | The Page Info that owns the Attachment. |
name | string | The name of the Attachment, for example "myfile.jpg". |
destinationStream | System | A Stream object used as destination of a byte stream, /// i.e. the method writes to the Stream the file content. |
countHit | bool | A value indicating whether or not to count this retrieval in the statistics. |
Résultat | bool |
public SetFileRetrievalCount ( string fullName, int count ) : void | ||
fullName | string | The full name of the file. |
count | int | The count to set. |
Résultat | void |
public SetPageAttachmentRetrievalCount ( System.PageInfo pageInfo, string name, int count ) : void | ||
pageInfo | System.PageInfo | The page. |
name | string | The name of the attachment. |
count | int | The count to set. |
Résultat | void |
public StoreFile ( string fullName, System sourceStream, bool overwrite ) : bool | ||
fullName | string | The full name of the file. |
sourceStream | System | A Stream object used as source of a byte stream, /// i.e. the method reads from the Stream and stores the content properly. |
overwrite | bool | |
Résultat | bool |
public StorePageAttachment ( System.PageInfo pageInfo, string name, System sourceStream, bool overwrite ) : bool | ||
pageInfo | System.PageInfo | The Page Info that owns the Attachment. |
name | string | The name of the Attachment, for example "myfile.jpg". |
sourceStream | System | A Stream object used as source of a byte stream, /// i.e. the method reads from the Stream and stores the content properly. |
overwrite | bool | |
Résultat | bool |