FileGdbDriver.OpenDataset
Contents
[
Hide
]OpenDataset(string, FileGdbOptions)
Opens the dataset.
public Dataset OpenDataset(string path, FileGdbOptions options)
| Parameter | Type | Description |
|---|---|---|
| path | String | Path to the dataset. |
| options | FileGdbOptions | 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 layer from the dataset. |
| IOException | An I/O error occurred. |
| NotSupportedException | Driver can not open datasets (see CanOpenDatasets). |
See Also
- class Dataset
- class FileGdbOptions
- class FileGdbDriver
- namespace Aspose.Gis.Formats.FileGdb
- assembly Aspose.GIS
OpenDataset(AbstractPath, DriverOptions)
Opens the dataset.
public override 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 layer from the dataset. |
| IOException | An I/O error occurred. |
| NotSupportedException | Driver can not open datasets (see CanOpenDatasets). |
See Also
- class Dataset
- class AbstractPath
- class DriverOptions
- class FileGdbDriver
- namespace Aspose.Gis.Formats.FileGdb
- assembly Aspose.GIS
OpenDataset(AbstractPath, FileGdbOptions)
Opens the dataset.
public Dataset OpenDataset(AbstractPath path, FileGdbOptions options)
| Parameter | Type | Description |
|---|---|---|
| path | AbstractPath | Path to the dataset. |
| options | FileGdbOptions | 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 layer from the dataset. |
| IOException | An I/O error occurred. |
| NotSupportedException | Driver can not open datasets (see CanOpenDatasets). |
See Also
- class Dataset
- class AbstractPath
- class FileGdbOptions
- class FileGdbDriver
- namespace Aspose.Gis.Formats.FileGdb
- assembly Aspose.GIS