FileDriver.CreateDataset
Contents
[
Hide
]CreateDataset(string)
Creates a dataset.
public Dataset CreateDataset(string path)
Parameter | Type | Description |
---|---|---|
path | String | Path to the dataset. |
Return Value
An instance of Dataset
.
Exceptions
exception | condition |
---|---|
ArgumentNullException | The path is null . |
GisException | Error creating the dataset. |
IOException | An I/O error occurred. |
NotSupportedException | Driver can not open datasets (see CanOpenDatasets ). |
InvalidOperationException | Dataset already exists. |
See Also
- class Dataset
- class FileDriver
- namespace Aspose.Gis
- assembly Aspose.GIS
CreateDataset(AbstractPath)
Creates a dataset.
public Dataset CreateDataset(AbstractPath path)
Parameter | Type | Description |
---|---|---|
path | AbstractPath | Path to the dataset. |
Return Value
An instance of Dataset
.
Exceptions
exception | condition |
---|---|
ArgumentNullException | The path is null . |
GisException | Error creating the dataset. |
IOException | An I/O error occurred. |
NotSupportedException | Driver can not open datasets (see CanOpenDatasets ). |
InvalidOperationException | Dataset already exists. |
See Also
- class Dataset
- class AbstractPath
- class FileDriver
- namespace Aspose.Gis
- assembly Aspose.GIS
CreateDataset(string, DriverOptions)
Creates a dataset.
public Dataset CreateDataset(string path, DriverOptions options)
Parameter | Type | Description |
---|---|---|
path | String | 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 creating the dataset. |
IOException | An I/O error occurred. |
NotSupportedException | Driver can not open datasets (see CanOpenDatasets ). |
InvalidOperationException | Dataset already exists. |
See Also
- class Dataset
- class DriverOptions
- class FileDriver
- namespace Aspose.Gis
- assembly Aspose.GIS
CreateDataset(AbstractPath, DriverOptions)
Creates a dataset.
public virtual Dataset CreateDataset(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 creating the dataset. |
IOException | An I/O error occurred. |
NotSupportedException | Driver can not open datasets (see CanOpenDatasets ). |
InvalidOperationException | Dataset already exists. |
See Also
- class Dataset
- class AbstractPath
- class DriverOptions
- class FileDriver
- namespace Aspose.Gis
- assembly Aspose.GIS