Returns information about the specified folder without selecting it.

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public Function GetFolderInfo ( _
	folder As String _
) As ImapFolder
C#
public ImapFolder GetFolderInfo(
	string folder
)

Parameters

folder
Type: System..::..String
Folder to retrieve information about.

Return Value

A folder info.

Remarks

Following ImapFolder properties are determined using this method: MessageCount, RecentCount, NotSeenCount, NextUniqueId and ValidityID.

This method represents IMAP STATUS command.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also