Class DataArchive
- Namespace
- Dynamicweb.DataPortability
- Assembly
- Dynamicweb.Core.dll
Represents an archived collection of data.
public class DataArchive
- Inheritance
-
DataArchive
- Inherited Members
Constructors
DataArchive(string)
Initializes a new instance of the DataArchive class.
public DataArchive(string filePath)
Parameters
filePath
stringThe file path.
Properties
FilePath
Gets the file path.
public string FilePath { get; }
Property Value
- string
The file path.
Methods
Delete()
Deletes this instance.
public void Delete()
WriteDataItems(DataItemType, IEnumerable<DataItem>)
Writes the data items of a given type.
public void WriteDataItems(DataItemType itemType, IEnumerable<DataItem> dataItems)
Parameters
itemType
DataItemTypeThe data item type.
dataItems
IEnumerable<DataItem>The data items.