Share via


CalendarPeriod.ToString method

The ToString method returns a string representation of this CalendarPeriod structure.

Namespace:  Microsoft.Exchange.Data.ContentTypes.iCalendar
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As CalendarPeriod
Dim returnValue As String

returnValue = instance.ToString()
public override string ToString()

Return value

Type: System.String
If IsExplicit is true, then the returned string contains the start date and end date. If IsExplicit is false, then the returned string contains the start date and duration.

See also

Reference

CalendarPeriod structure

CalendarPeriod members

Microsoft.Exchange.Data.ContentTypes.iCalendar namespace