Interface ITableauFileEditor
Interface for an object that can edit content in Tableau file formats including TDS, TDSX, TWB, and TWBX. All changes made to the content is persisted upon disposal
Inherited Members
Namespace: Tableau.Migration.Content.Files
Assembly: Tableau.Migration.dll
Syntax
public interface ITableauFileEditor : IAsyncDisposable
Properties
Archive
Gets the zip archive for the file, or null if the file is an unzipped XML file (TDS or TWB). The zip archive is backed by the Content stream.
Declaration
ZipArchive? Archive { get; }
Property Value
Type | Description |
---|---|
ZipArchive |
Content
Gets the memory backed stream with unencrypted tableau file data to write back to the file store upon disposal.
Declaration
RecyclableMemoryStream Content { get; }
Property Value
Type | Description |
---|---|
RecyclableMemoryStream |
Methods
GetXmlStream()
Gets the current read/write stream to the XML content of the Tableau file, opening a new stream if necessary. Changes to the stream will be automatically saved before publishing.
Declaration
ITableauFileXmlStream GetXmlStream()
Returns
Type | Description |
---|---|
ITableauFileXmlStream | The XML stream to edit. |