Detects whether a folder with specified name exists under a parent folder.

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

Syntax

Visual Basic
Public Function FolderExists ( _
	parentId As EwsFolderId, _
	name As String _
) As Boolean
C#
public bool FolderExists(
	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

True if folder exists; false otherwise.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also