Partager 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.