EventCollection class

inherits members from ClientObjectCollection

Represents a collection of Event objects.

Syntax

CSOM

class EventCollection 

JSOM

PS.EventCollection

REST Interface

Supported.

PS.EventCollection

http://contoso.sharepoint.com/sites/pwa/api/ProjectServer/Events

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name .NET JSOM REST Type Description
[Integer] Event Gets a Event from the collection at the specified index.
Item Event Gets a Event from the collection at the specified index.

Methods

Name .NET JSOM REST Return Type Description
GetById(String objectId) Event Gets a Event from the collection with the Id value.
GetByInt(Integer id) Event Gets an event from the collection with the specified integer identifier.

#### Method Details

GetById(String objectId)

Gets a Event from the collection with the Id value.

Syntax
Event GetById(String objectId)
Parameters
Name Type Description
objectId String The id of the Event.
Return Value

Event

GetByInt(Integer id)

Gets an event from the collection with the specified integer identifier.

Syntax
Event GetByInt(Integer id)
Parameters
Name Type Description
id Integer An integer identifier.
Return Value

Event

See Also

Event
ProjectContext