Opens a TeaFile in read only mode.
Namespace: TeaTimeAssembly: DiscreteLogics.TeaFiles (in DiscreteLogics.TeaFiles.dll) Version: 1.0.0.16 (1.0.0.16)
Syntax
public static TeaFile<T> OpenRead( string path, ItemDescriptionElements elementsToValidate )
Parameters
- path
- Type: System..::..String
The path of the file.
- elementsToValidate
- Type: TeaTime..::..ItemDescriptionElements
Elements of the ItemDescription of T compared against hose inside thefile. ItemDescriptionElements for details.
Return Value
The file, open for reading.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | Thrown when path is null. |