Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Interface

IGoogleSheetsImporter

OfficeIMO.Excel.GoogleSheets

Namespace
OfficeIMO.Excel.GoogleSheets
Assembly
OfficeIMO.Excel.GoogleSheets
Source revision
ba882f6b0d07 with working tree changes
Modifiers
abstract

Imports a Google spreadsheet into a caller-owned Excel document.

Methods

public abstract Task<GoogleSheetsImportResult> ImportAsync(string spreadsheetId, GoogleWorkspaceSession session, GoogleSheetsImportOptions? options = null, CancellationToken cancellationToken = default) #

Loads a spreadsheet through Drive-exported XLSX or native Sheets projection.

Parameters

spreadsheetId string required
session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession required
options OfficeIMO.Excel.GoogleSheets.GoogleSheetsImportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional