FileGdbDriver.OpenDataset

OpenDataset(string, FileGdbOptions)

Opens the dataset.

public Dataset OpenDataset(string path, FileGdbOptions options)
ParameterTypeDescription
pathStringPath to the dataset.
optionsFileGdbOptionsDriver-specific options.

Return Value

An instance of Dataset.

Exceptions

exceptioncondition
ArgumentExceptionOptions object has an incorrect type for this driver.
ArgumentNullExceptionThe path is null.
GisExceptionError reading the layer from the dataset.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open datasets (see CanOpenDatasets).

See Also


OpenDataset(AbstractPath, DriverOptions)

Opens the dataset.

public override Dataset OpenDataset(AbstractPath path, DriverOptions options)
ParameterTypeDescription
pathAbstractPathPath to the dataset.
optionsDriverOptionsDriver-specific options.

Return Value

An instance of Dataset.

Exceptions

exceptioncondition
ArgumentExceptionOptions object has an incorrect type for this driver.
ArgumentNullExceptionThe path is null.
GisExceptionError reading the layer from the dataset.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open datasets (see CanOpenDatasets).

See Also


OpenDataset(AbstractPath, FileGdbOptions)

Opens the dataset.

public Dataset OpenDataset(AbstractPath path, FileGdbOptions options)
ParameterTypeDescription
pathAbstractPathPath to the dataset.
optionsFileGdbOptionsDriver-specific options.

Return Value

An instance of Dataset.

Exceptions

exceptioncondition
ArgumentExceptionOptions object has an incorrect type for this driver.
ArgumentNullExceptionThe path is null.
GisExceptionError reading the layer from the dataset.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open datasets (see CanOpenDatasets).

See Also