Use this method to determine if an event occurs on a given date.
Note Note This event should be called only after the [!:Evaluate] method has calculated the dates for which this event occurs.

Namespace: iCal
Assembly: ICalVCard (in ICalVCard.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public virtual bool OccursOn(
	IDateTime DateTime
)
Visual Basic
Public Overridable Function OccursOn ( _
	DateTime As IDateTime _
) As Boolean
Visual C++
public:
virtual bool OccursOn(
	IDateTime^ DateTime
)

Parameters

DateTime
Type: iCal..::..IDateTime
The date to test.

Return Value

True if the event occurs on the DateTime provided, False otherwise.

See Also