dotmailer SDK: dotMailer.Sdk.Objects.Documents.DmDocumentFolder Class Reference

dotmailer SDK

dotmailer SDK
Tools to access and manage an account in the dotMailer system
dotMailer.Sdk.Objects.Documents.DmDocumentFolder Class Reference

Represents a single folder in dotMailer's Document Manager. More...

Inheritance diagram for dotMailer.Sdk.Objects.Documents.DmDocumentFolder:
dotMailer.Sdk.Interfaces.IDmObject dotMailer.Sdk.Cache.IDmCacheableObject

Public Member Functions

DmDocumentFolder FindChildDocumentFolderById (int folderId, bool searchSubFolders)
 Searches for a child folder with the specified folder ID, optionally searching the child folders of each child folder encountered.
 
int IndexOfChildFolder (string folderName, bool caseSensitive=false)
 Searches for the specified child folder and returns the zero-based index of the first occurrence.
 
DmDocumentFolder FindFolder (int folderId)
 Finds a folder by id
 

Properties

string ObjectType [get, set]
 Returns the type name of the class Used by the serialisation process
 
bool IsDirty [get]
 Returns true if the object has changed
 
string ExternalId [get]
 The generated Id that uniquely identifies this record across all dotMailer accounts.
 
int AccountId [get, set]
 The dotMailer account Id for this document folder.
 
int Id [get, set]
 The unique ID of this folder within the dotMailer account.
 
int ParentId [get, set]
 The unique ID of the folder which acts as a parent to this folder.
 
string Name [get, set]
 The name of the folder.
 
DmDocumentFolderCollection ChildFolders [get, set]
 A collection of child folders to which this folder acts as a parent folder.
 
string UserTag1 [get, set]
 User Tag
 
string UserTag2 [get, set]
 User Tag
 
string UserTag3 [get, set]
 User Tag
 
- Properties inherited from dotMailer.Sdk.Interfaces.IDmObject
int AccountId [get]
 The DotMailer account Id for this object
 
string ExternalId [get]
 A key that represents this object, used for synching with external applications
 
bool IsDirty [get]
 has the data of the object changed
 

Detailed Description

Represents a single folder in dotMailer's Document Manager.

Member Function Documentation

DmDocumentFolder dotMailer.Sdk.Objects.Documents.DmDocumentFolder.FindChildDocumentFolderById ( int  folderId,
bool  searchSubFolders 
)

Searches for a child folder with the specified folder ID, optionally searching the child folders of each child folder encountered.

Parameters
folderIdThe ID of the folder to find.
searchSubFoldersIf true then the child folders of each child folder are also searched.
Returns
DmDocumentFolder dotMailer.Sdk.Objects.Documents.DmDocumentFolder.FindFolder ( int  folderId)

Finds a folder by id

Parameters
folderId
Returns
int dotMailer.Sdk.Objects.Documents.DmDocumentFolder.IndexOfChildFolder ( string  folderName,
bool  caseSensitive = false 
)

Searches for the specified child folder and returns the zero-based index of the first occurrence.

Parameters
folderNameThe name of the folder to find.
caseSensitivePass true if the search should be case sensitive.
Returns
The index of the child folder, or -1 if the folder was not found.

Property Documentation

int dotMailer.Sdk.Objects.Documents.DmDocumentFolder.AccountId
getset

The dotMailer account Id for this document folder.

DmDocumentFolderCollection dotMailer.Sdk.Objects.Documents.DmDocumentFolder.ChildFolders
getset

A collection of child folders to which this folder acts as a parent folder.

string dotMailer.Sdk.Objects.Documents.DmDocumentFolder.ExternalId
get

The generated Id that uniquely identifies this record across all dotMailer accounts.

int dotMailer.Sdk.Objects.Documents.DmDocumentFolder.Id
getset

The unique ID of this folder within the dotMailer account.

bool dotMailer.Sdk.Objects.Documents.DmDocumentFolder.IsDirty
get

Returns true if the object has changed

string dotMailer.Sdk.Objects.Documents.DmDocumentFolder.Name
getset

The name of the folder.

string dotMailer.Sdk.Objects.Documents.DmDocumentFolder.ObjectType
getset

Returns the type name of the class Used by the serialisation process

int dotMailer.Sdk.Objects.Documents.DmDocumentFolder.ParentId
getset

The unique ID of the folder which acts as a parent to this folder.

string dotMailer.Sdk.Objects.Documents.DmDocumentFolder.UserTag1
getset

User Tag

string dotMailer.Sdk.Objects.Documents.DmDocumentFolder.UserTag2
getset

User Tag

string dotMailer.Sdk.Objects.Documents.DmDocumentFolder.UserTag3
getset

User Tag

Generated by   doxygen 1.8.3