Interface IGraphEvent
Defines an event in a Team
public interface IGraphEvent : IDataModel<IGraphEvent>, IDataModelParent, IDataModelWithContext, ISupportModules<IGraphEvent>, IDataModelGet<IGraphEvent>, IDataModelLoad<IGraphEvent>, IDataModelDelete, IQueryableDataModel
- Inherited Members
- Extension Methods
Properties
AllowNewTimeProposals
True if the meeting organizer allows invitees to propose a new time when responding; otherwise, false.
bool AllowNewTimeProposals { get; }
Property Value
Attendees
The body of the message associated with the event. It can be in HTML or text format.
IGraphEventAttendeeCollection Attendees { get; set; }
Property Value
Body
The body of the message associated with the event. It can be in HTML or text format.
IGraphItemBody Body { get; }
Property Value
BodyPreview
The preview of the message associated with the event. It is in text format.
string BodyPreview { get; }
Property Value
Categories
The categories associated with the event. Each category corresponds to the displayName property of an outlookCategory defined for the user.
List<string> Categories { get; set; }
Property Value
ChangeKey
Identifies the version of the event object. Every time the event is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object.
string ChangeKey { get; }
Property Value
CreatedDateTime
Timestamp when the event was created
DateTimeOffset CreatedDateTime { get; }
Property Value
End
The date, time, and time zone that the event starts. By default, the start time is in UTC.
IGraphDateTimeTimeZone End { get; set; }
Property Value
HasAttachments
Set to true if the event has attachments.
bool HasAttachments { get; }
Property Value
HideAttendees
When set to true, each attendee only sees themselves in the meeting request and meeting Tracking list. Default is false.
bool HideAttendees { get; set; }
Property Value
ICalUId
A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series.
string ICalUId { get; }
Property Value
Id
Identifier that uniquely identifies a specific instance of an event. Read only.
string Id { get; }
Property Value
Importance
The importance of the event.
EventImportance Importance { get; set; }
Property Value
IsAllDay
Set to true if the event lasts all day.
bool IsAllDay { get; set; }
Property Value
IsCancelled
Set to true if the event has been canceled.
bool IsCancelled { get; }
Property Value
IsDraft
Set to true if the user has updated the meeting in Outlook but has not sent the updates to attendees. Set to false if all changes have been sent, or if the event is an appointment without any attendees.
bool IsDraft { get; }
Property Value
IsOnlineMeeting
Defines if the event is an online meeting (e.g. Teams meeting)
bool IsOnlineMeeting { get; set; }
Property Value
IsOrganizer
Defines if the event was created by the requestor
bool IsOrganizer { get; }
Property Value
IsReminderOn
Set to true if an alert is set to remind the user of the event. (n/a for Team events)
bool IsReminderOn { get; }
Property Value
LastModifiedDateTime
Timestamp when the event was last modified
DateTimeOffset LastModifiedDateTime { get; }
Property Value
Location
The location of the event.
IGraphLocation Location { get; set; }
Property Value
Locations
The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection would be removed and replaced by the new location value.
IGraphLocationCollection Locations { get; set; }
Property Value
OnlineMeeting
Details for an attendee to join the meeting online. Default is null. Read-only.
IGraphOnlineMeetingInfo OnlineMeeting { get; }
Property Value
OnlineMeetingProvider
Represents the online meeting service provider. After you set onlineMeetingProvider, Microsoft Graph initializes onlineMeeting. Subsequently you cannot change onlineMeetingProvider again, and the meeting remains available online.
EventOnlineMeetingProvider OnlineMeetingProvider { get; set; }
Property Value
OnlineMeetingUrl
A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future.
string OnlineMeetingUrl { get; }
Property Value
Organizer
The organizer of the event.
IGraphRecipient Organizer { get; }
Property Value
OriginalEndTimeZone
The end time zone that was set when the event was created.
string OriginalEndTimeZone { get; }
Property Value
OriginalStart
Represents the start time of an event when it is initially created as an occurrence or exception in a recurring series. This property is not returned for events that are single instances. Its date and time information is expressed in ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
DateTimeOffset OriginalStart { get; }
Property Value
OriginalStartTimeZone
The start time zone that was set when the event was created.
string OriginalStartTimeZone { get; }
Property Value
Recurrence
The recurrence pattern for the event.
IGraphPatternedRecurrence Recurrence { get; set; }
Property Value
ReminderMinutesBeforeStart
The number of minutes before the event start time that the reminder alert occurs.
int ReminderMinutesBeforeStart { get; set; }
Property Value
ResponseRequested
Defines if the organizer would like an invitee to send a response to the event.
bool ResponseRequested { get; set; }
Property Value
ResponseStatus
Indicates the type of response sent in response to an event message.
IGraphEventResponseStatus ResponseStatus { get; }
Property Value
Sensitivity
Sensitivity of the event
EventSensitivity Sensitivity { get; set; }
Property Value
SeriesMasterId
The ID for the recurring series master item, if this event is part of a recurring series.
string SeriesMasterId { get; }
Property Value
ShowAs
The status to show.
EventShowAs ShowAs { get; set; }
Property Value
Start
The date, time, and time zone that the event starts. By default, the start time is in UTC.
IGraphDateTimeTimeZone Start { get; set; }
Property Value
Subject
The text of the event's subject line.
string Subject { get; set; }
Property Value
TransactionId
A custom identifier specified by a client app for the server to avoid redundant POST operations in case of client retries to create the same event. This is useful when low network connectivity causes the client to time out before receiving a response from the server for the client's prior create-event request. After you set transactionId when creating an event, you cannot change transactionId in a subsequent update. This property is only returned in a response payload if an app has set it.
string TransactionId { get; set; }
Property Value
Type
The event type.
EventType Type { get; }
Property Value
WebLink
The URL to open the event in Outlook on the web.
string WebLink { get; }
Property Value
Methods
Update(EventUpdateOptions)
Method to update the event
void Update(EventUpdateOptions options)
Parameters
optionsEventUpdateOptionsOptions on what to update
UpdateAsync(EventUpdateOptions)
Method to update the event
Task UpdateAsync(EventUpdateOptions options)
Parameters
optionsEventUpdateOptionsOptions on what to update