Click or drag to resize

GH_ArchiveReadFromFile Method

Reads a new archive tree from a file.

Namespace:  GH_IO.Serialization
Assembly:  GH_IO (in GH_IO.dll)
Syntax
public bool ReadFromFile(
	string fileName
)

Parameters

fileName
Type: SystemString
Path of file to parse.

Return Value

Type: Boolean
True on success, false on failure. If the read operation fails, all the member fields of this archive ought to be treated as invalid.
Exceptions
ExceptionCondition
FileNotFoundExceptionThrown if the file doesn't exist.
IOExceptionThrown if the file_name doesn't represent a known file extension.
See Also