MindFusion.Wpf Pack Programmer's Guide
GoogleCalendarImporter.Import Method (String, String)
See Also
 





Imports the calendar with specified id.

Namespace: MindFusion.Scheduling.Import
Assembly: MindFusion.Scheduling.Wpf.Import

 Syntax

C#  Copy Code

public async Task<Schedule> Import (
    string accessToken,
    string calendarId
)

Visual Basic  Copy Code

Public Async Function Import( _
    accessToken As String, _
    calendarId As String _
) As Task(Of Schedule)

 Parameters

accessToken

OAuth2 access token.

calendarId

The id of a secondary Google calendar.

 Return Value

The imported Schedule.

 Remarks

This method throws WebException if the request to https://www.googleapis.com/calendar returns error code. For example you could get a 403 status code with the exception if Google Calendar API is not enabled for your application in Google Cloud console.

 See Also

Import Method Overload List
GoogleCalendarImporter Members
GoogleCalendarImporter Class
MindFusion.Scheduling.Import Namespace