WorksessionFileRead Method |
Reads a worksession file.
Namespace:
Rhino.FileIO
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic static WorksessionFile Read(
string path
)
Public Shared Function Read (
path As String
) As WorksessionFile
Parameters
- path
- Type: SystemString
The file to read.
Return Value
Type:
WorksessionFile
The worksession, or null if the file could not be read. That includes a worksession
file from a newer version of Rhino:
ReadFileVersion(String) returns a version
greater than
CurrentVersion for those, and 0 for a file that is not a
worksession file.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | If path is null. |
See Also