GetFilteredEvents method

Returns an IERUCollection of Calendar Events from this room that match the criteria passed in to the method.  For the criteria, the programmer can specify a start date, an end date, a member who is a participant in the event, some text, or any combination of these parameters.

Syntax


C++
HRESULT GetFilteredEvents(
   DATE
StartDate
,
   DATE
   EndDate,
   IERUMember*
pMember,
   VARIANT
Filter,
   IERUCollection**
ppCalendarEvents
)
Scripting languages
Set CalendarEvents = Object.GetFilteredEvents(
   StartDate
as Date,
   EndDate
as Date,
   pMember
as IERUMember,
   Filter
as Boolean
)  

Parameters


StartDate

The start date for the collection.

EndDate

An end date for the collection.

pMember

A member who participated in the events. By specifying a member, you can restrict the returned collection to events participated in by that member.

Filter

Some text associated with the events. By specifying text, you can restrict the returned collection to events containing this text.

ppCalendarEvents

Upon return, an IERUCollection interface of Calendar Events from this room that match the criteria specified in the parameters.

Return value


C++

The return code.

Scripting languages

An IERUCollection of Calendar Events from this room that match the criteria specified in the parameters.

Home

Applies to

IERURoom