FileDriver.CreateDataset
内容
[
隐藏
]CreateDataset(string)
创建数据集。
public Dataset CreateDataset(string path)
| 范围 | 类型 | 描述 |
|---|---|---|
| path | String | 数据集的路径。 |
返回值
的实例Dataset.
例外
| 例外 | (健康)状况 |
|---|---|
| ArgumentNullException | 路径是null. |
| GisException | 创建数据集时出错。 |
| IOException | 发生 I/O 错误。 |
| NotSupportedException | 驱动程序无法打开数据集(请参阅CanOpenDatasets). |
| InvalidOperationException | 数据集已经存在。 |
也可以看看
- class Dataset
- class FileDriver
- 命名空间 Aspose.Gis
- 部件 Aspose.GIS
CreateDataset(AbstractPath)
创建数据集。
public Dataset CreateDataset(AbstractPath path)
| 范围 | 类型 | 描述 |
|---|---|---|
| path | AbstractPath | 数据集的路径。 |
返回值
的实例Dataset.
例外
| 例外 | (健康)状况 |
|---|---|
| ArgumentNullException | 路径是null. |
| GisException | 创建数据集时出错。 |
| IOException | 发生 I/O 错误。 |
| NotSupportedException | 驱动程序无法打开数据集(请参阅CanOpenDatasets). |
| InvalidOperationException | 数据集已经存在。 |
也可以看看
- class Dataset
- class AbstractPath
- class FileDriver
- 命名空间 Aspose.Gis
- 部件 Aspose.GIS
CreateDataset(string, DriverOptions)
创建数据集。
public Dataset CreateDataset(string path, DriverOptions options)
| 范围 | 类型 | 描述 |
|---|---|---|
| path | String | 数据集的路径。 |
| options | DriverOptions | 特定于驱动程序的选项。 |
返回值
的实例Dataset.
例外
| 例外 | (健康)状况 |
|---|---|
| ArgumentException | 此驱动程序的选项对象类型不正确。 |
| ArgumentNullException | 路径是null. |
| GisException | 创建数据集时出错。 |
| IOException | 发生 I/O 错误。 |
| NotSupportedException | 驱动程序无法打开数据集(请参阅CanOpenDatasets). |
| InvalidOperationException | 数据集已经存在。 |
也可以看看
- class Dataset
- class DriverOptions
- class FileDriver
- 命名空间 Aspose.Gis
- 部件 Aspose.GIS
CreateDataset(AbstractPath, DriverOptions)
创建数据集。
public virtual Dataset CreateDataset(AbstractPath path, DriverOptions options)
| 范围 | 类型 | 描述 |
|---|---|---|
| path | AbstractPath | 数据集的路径。 |
| options | DriverOptions | 特定于驱动程序的选项。 |
返回值
的实例Dataset.
例外
| 例外 | (健康)状况 |
|---|---|
| ArgumentException | 此驱动程序的选项对象类型不正确。 |
| ArgumentNullException | 路径是null. |
| GisException | 创建数据集时出错。 |
| IOException | 发生 I/O 错误。 |
| NotSupportedException | 驱动程序无法打开数据集(请参阅CanOpenDatasets). |
| InvalidOperationException | 数据集已经存在。 |
也可以看看
- class Dataset
- class AbstractPath
- class DriverOptions
- class FileDriver
- 命名空间 Aspose.Gis
- 部件 Aspose.GIS