Table of contents
API
TOC
Collapse the table of content
Expand the table of content

EventCollection class

Nadin Merali|Last Updated: 5/6/2017

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.NETJSOMRESTTypeDescription
[Integer]EventGets a Event from the collection at the specified index.
ItemEventGets a Event from the collection at the specified index.

Methods

Name.NETJSOMRESTReturn TypeDescription
GetById(String objectId)EventGets a Event from the collection with the Guid value.
GetByInt(Integer id)EventGets an event from the collection with the specified integer identifier.


Method Details

GetById(String objectId)

Gets a Event from the collection with the Guid value.

Syntax
Event GetById(String objectId)
Parameters
NameTypeDescription
objectIdStringThe 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
NameTypeDescription
idIntegerAn integer identifier.
Return Value

Event

See Also

Event
ProjectContext

© 2018 Microsoft