Class FileCreateSource
Represents a file source for creation.
public sealed class FileCreateSource : FileSource
- Inheritance
-
FileCreateSource
- Inherited Members
Constructors
FileCreateSource(string)
Initializes a new instance of the FileCreateSource class.
public FileCreateSource(string filePath)
Parameters
filePath
stringThe file path to create.
FileCreateSource(string, bool)
Initializes a new instance of the FileCreateSource class.
public FileCreateSource(string filePath, bool isTemporal)
Parameters
filePath
stringThe file path to create.
isTemporal
boolIf set to
true
the created file will be temporal.
Properties
FilePath
Gets the file path to create.
public string FilePath { get; }
Property Value
- string
The file path to create.
IsTemporal
Gets a value indicating whether file will be temporal.
public override bool IsTemporal { get; }
Property Value
- bool
true
if file will be temporal; otherwise,false
.
Methods
GetStreamContainer()
Gets the stream container.
public override StreamContainer GetStreamContainer()
Returns
- StreamContainer
the stream container.
Remarks
Use with caution. You will need to dispose the stream container after retrieval.