Recurrence.IsSame method

Compares two objects by converting them to JavaScript Object Notation (JSON) and comparing their string values.

The IsSame(Recurrence) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public bool IsSame(
	Recurrence otherRecurrence


Type: Microsoft.Exchange.WebServices.Data.Recurrence

A calendar recurrence object with which to compare.

Return value

Type: System.Boolean
true if the JSON converted objects are equal; otherwise, false.