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





Imports the primary Google calendar.

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

 Syntax

C#  Copy Code

public async Task<Schedule> Import (
    string accessToken
)

Visual Basic  Copy Code

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

 Parameters

accessToken

OAuth2 access token.

 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