LumiSoft Net Help
GetFolders Method (filter)
NamespacesLumiSoft.Net.IMAP.ClientIMAP_ClientGetFolders(String)
Gets folders list.
Declaration Syntax
C#Visual BasicVisual C++F#
public IMAP_r_u_List[] GetFolders(
	string filter
)
Public Function GetFolders ( 
	filter As String
) As IMAP_r_u_List()
public:
array<IMAP_r_u_List^>^ GetFolders(
	String^ filter
)
member GetFolders : 
        filter : string -> IMAP_r_u_List[] 
Parameters
filter (String)
Folders filter. If this value is null, all folders are returned.
Return Value
array<IMAP_r_u_List>[]()[][]
Returns folders list.
Remarks
The character "*" is a wildcard, and matches zero or more characters at this position. The character "%" is similar to "*", but it does not match a hierarchy delimiter. If the "%" wildcard is the last character of a mailbox name argument, matching levels of hierarchy are also returned.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and and this method is accessed.
InvalidOperationExceptionIs raised when IMAP client is not in valid state. For example 'not connected'.
IMAP_ClientExceptionIs raised when server refuses to complete this command and returns error.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119