Method GetRowCountAsync
GetRowCountAsync(int)
Asynchronous version of GetRowCount(int)
Returns the total number of rows in the sheet inside of the Spreadsheet with id SpreadSheetId. This method requires the SheetsService to use OAuth authorization as it uses a data filter which reuires elevated authorization.
Declaration
public Task<int> GetRowCountAsync(int sheetId)
Parameters
Type | Name | Description |
---|---|---|
int | sheetId | The sheet to get the row count from |
Returns
Type | Description |
---|---|
Task<int> | The row count for the sheet. |