Finds a folder with given name in a parent folder.

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

Syntax

Visual Basic
Public Function FindFolder ( _
	parentId As EwsFolderId, _
	name As String _
) As EwsFolderInfo
C#
public EwsFolderInfo FindFolder(
	EwsFolderId parentId,
	string name
)

Parameters

parentId
Type: Rebex.Net..::..EwsFolderId
ID of a folder where to find requested folder name.
name
Type: System..::..String
Name of the folder to be found.

Return Value

EwsFolderInfo object if the folder was found; null (Nothing in VB.NET) otherwise.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also