Dataset.Create
Contents
[
Hide
]Create(string, FileDriver)
Creates a dataset.
public static Dataset Create(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 |
---|---|
ArgumentException | Options object has an incorrect type for this driver. |
ArgumentNullException | The path is null . |
GisException | Error while creating the dataset. |
IOException | An I/O error occurred. |
NotSupportedException | Driver can not open datasets. |
InvalidOperationException | Dataset already exists. |
See Also
- class FileDriver
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS
Create(AbstractPath, FileDriver)
Creates a dataset.
public static Dataset Create(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 |
---|---|
ArgumentException | Options object has an incorrect type for this driver. |
ArgumentNullException | The path is null . |
GisException | Error while creating the dataset. |
IOException | An I/O error occurred. |
NotSupportedException | Driver can not open datasets. |
InvalidOperationException | Dataset already exists. |
See Also
- class AbstractPath
- class FileDriver
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS
Create(string, FileDriver, DriverOptions)
Creates a dataset.
public static Dataset Create(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 while creating the dataset. |
IOException | An I/O error occurred. |
NotSupportedException | Driver can not open datasets. |
InvalidOperationException | Dataset already exists. |
See Also
- class FileDriver
- class DriverOptions
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS
Create(AbstractPath, FileDriver, DriverOptions)
Creates a dataset.
public static Dataset Create(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 while creating the dataset. |
IOException | An I/O error occurred. |
NotSupportedException | Driver can not open datasets. |
InvalidOperationException | Dataset already exists. |
See Also
- class AbstractPath
- class FileDriver
- class DriverOptions
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS