Class GristDocument
A Grist document, containing one or more tables.
Inheritance
GristDocument
Assembly: Grist4NET.dll
Syntax
public class GristDocument
Fields
DocumentId
Declaration
public readonly string DocumentId
Field Value
Properties
CreatedAt
Declaration
public DateTime CreatedAt { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Tables
Declaration
public IReadOnlyDictionary<string, GristTableMetadata> Tables { get; }
Property Value
See Also
UpdatedAt
Declaration
public DateTime UpdatedAt { get; }
Property Value
Methods
GetAttachment(ulong)
Declaration
public Task<GristAttachment> GetAttachment(ulong attachmentRef)
Parameters
| Type |
Name |
Description |
| ulong |
attachmentRef |
|
Returns
GetTable(string)
Declaration
public Task<GristTable> GetTable(string tableId)
Parameters
| Type |
Name |
Description |
| string |
tableId |
|
Returns
Refresh()
Retrieves the document's current structure from Grist and syncs it with this instance
Declaration
Returns
See Also