Moyosoft Products | Services | Download | Contact us    
Java Outlook Connector
Products  >  Java Outlook Connector  >  API Reference    
API Reference
   
Overview  |  
Classic JavaDoc

OutlookFolder.OutlookFolder

public OutlookFolder(com.moyosoft.connector.com.Dispatch dispatch)
public OutlookFolder(OutlookFolder parentFolder, String newFolderName)

Creates a new folder with the specified name

Parameters:
parentFolder   the parent folder where the new folder will be created
newFolderName   new folder's name

Throws:
ComponentObjectModelException   if a COM error occurs.

public OutlookFolder(OutlookFolder parentFolder, String newFolderName, FolderType folderType)

Creates a new folder with the specified name and type

Parameters:
parentFolder   the parent folder where the new folder will be created
newFolderName   new folder's name
folderType   new folder's type

Throws:
ComponentObjectModelException   if a COM error occurs.

Community comments



Powered by JavaDocPlus