FileGdbDriverOpenDataset Method (String, FileGdbOptions)

Opens the dataset.

Namespace:  Aspose.Gis.Formats.FileGdb
Assembly:  Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntax
public Dataset OpenDataset(
	string path,
	FileGdbOptions options
)

Parameters

path
Type: SystemString
Path to the dataset.
options
Type: Aspose.Gis.Formats.FileGdbFileGdbOptions
Driver-specific options.

Return Value

Type: Dataset
An instance of Dataset.
Exceptions
ExceptionCondition
ArgumentExceptionOptions object has an incorrect type for this driver.
ArgumentNullExceptionThe path is .
GisExceptionError reading the layer from the dataset.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open datasets (see CanOpenDatasets).
See Also