OpenDataset

FileDriver.OpenDataset method (1 of 4)

Opens the dataset.

public Dataset OpenDataset(string path)
Parameter Type Description
path String Path to the dataset.

Return Value

An instance of Dataset.

Exceptions

exception condition
ArgumentNullException The path is null.
GisException Error reading the dataset.
IOException An I/O error occurred.
NotSupportedException Driver can not open datasets (see CanOpenDatasets).

See Also


FileDriver.OpenDataset method (2 of 4)

Opens the dataset.

public Dataset OpenDataset(AbstractPath path)
Parameter Type Description
path AbstractPath Path to the dataset.

Return Value

An instance of Dataset.

Exceptions

exception condition
ArgumentNullException The path is null.
GisException Error reading the dataset.
IOException An I/O error occurred.
NotSupportedException Driver can not open datasets (see CanOpenDatasets).

See Also


FileDriver.OpenDataset method (3 of 4)

Opens the dataset.

public Dataset OpenDataset(string path, DriverOptions options)
Parameter Type Description
path String Path to the dataset.
options DriverOptions Driver-specific options.

Return Value

An instance of Dataset.

Exceptions

exception condition
ArgumentException Options object has an incorrect type for this driver.
ArgumentNullException The path is null.
GisException Error reading the dataset.
IOException An I/O error occurred.
NotSupportedException Driver can not open datasets (see CanOpenDatasets).

See Also


FileDriver.OpenDataset method (4 of 4)

Opens the dataset.

public virtual Dataset OpenDataset(AbstractPath path, DriverOptions options)
Parameter Type Description
path AbstractPath Path to the dataset.
options DriverOptions Driver-specific options.

Return Value

An instance of Dataset.

Exceptions

exception condition
ArgumentException Options object has an incorrect type for this driver.
ArgumentNullException The path is null.
GisException Error reading the dataset.
IOException An I/O error occurred.
NotSupportedException Driver can not open datasets (see CanOpenDatasets).

See Also