Open

Dataset.Open method (1 of 5)

Opens the dataset.

public static Dataset Open(string path, FileDriver driver)
Parameter Type Description
path String Path to the dataset.
driver FileDriver Driver to use.

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.

See Also


Dataset.Open method (2 of 5)

Opens the dataset.

public static Dataset Open(AbstractPath path, FileDriver driver)
Parameter Type Description
path AbstractPath Path to the dataset.
driver FileDriver Driver to use.

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.

See Also


Dataset.Open method (3 of 5)

Opens the dataset.

public static Dataset Open(string path, FileDriver driver, DriverOptions options)
Parameter Type Description
path String Path to the dataset.
driver FileDriver Driver to use.
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.

See Also


Dataset.Open method (4 of 5)

Opens the dataset.

public static Dataset Open(AbstractPath path, FileDriver driver, DriverOptions options)
Parameter Type Description
path AbstractPath Path to the dataset.
driver FileDriver Driver to use.
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.

See Also


Dataset.Open method (5 of 5)

Opens the dataset.

public static Dataset Open(IDbConnection connection, DatabaseDriver driver)
Parameter Type Description
connection IDbConnection Opened connection to the database.
driver DatabaseDriver Driver to use.

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.

See Also