Opens a TeFile in write mode.
Namespace: TeaTimeAssembly: DiscreteLogics.TeaFiles (in DiscreteLogics.TeaFiles.dll) Version: 1.0.0.16 (1.0.0.16)
Syntax
public static TeaFile<T> OpenWrite( Stream stream, ItemDescriptionElements elementsToValidate )
Parameters
- stream
- Type: System.IO..::..Stream
The underlying storage media.
- elementsToValidate
- Type: TeaTime..::..ItemDescriptionElements
Elements of the ItemDescription to be checked. ItemDescriptionElements for details.
Return Value
A TeaFile, open in write mode.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | stream is null. |