Dataset.Open
Contents
[
Hide
]Open(string, FileDriver)
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
- class FileDriver
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS
Open(AbstractPath, FileDriver)
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
- class AbstractPath
- class FileDriver
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS
Open(string, FileDriver, DriverOptions)
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
- class FileDriver
- class DriverOptions
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS
Open(AbstractPath, FileDriver, DriverOptions)
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
- class AbstractPath
- class FileDriver
- class DriverOptions
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS
Open(IDbConnection, DatabaseDriver)
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
- class DatabaseDriver
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS