FileDriver.CreateDataset

CreateDataset(string)

Creates a dataset.

public Dataset CreateDataset(string path)
ParameterTypeDescription
pathStringPath to the dataset.

Return Value

An instance of Dataset.

Exceptions

exceptioncondition
ArgumentNullExceptionThe path is null.
GisExceptionError creating the dataset.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open datasets (see CanOpenDatasets).
InvalidOperationExceptionDataset already exists.

See Also


CreateDataset(AbstractPath)

Creates a dataset.

public Dataset CreateDataset(AbstractPath path)
ParameterTypeDescription
pathAbstractPathPath to the dataset.

Return Value

An instance of Dataset.

Exceptions

exceptioncondition
ArgumentNullExceptionThe path is null.
GisExceptionError creating the dataset.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open datasets (see CanOpenDatasets).
InvalidOperationExceptionDataset already exists.

See Also


CreateDataset(string, DriverOptions)

Creates a dataset.

public Dataset CreateDataset(string path, DriverOptions options)
ParameterTypeDescription
pathStringPath to the dataset.
optionsDriverOptionsDriver-specific options.

Return Value

An instance of Dataset.

Exceptions

exceptioncondition
ArgumentExceptionOptions object has an incorrect type for this driver.
ArgumentNullExceptionThe path is null.
GisExceptionError creating the dataset.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open datasets (see CanOpenDatasets).
InvalidOperationExceptionDataset already exists.

See Also


CreateDataset(AbstractPath, DriverOptions)

Creates a dataset.

public virtual Dataset CreateDataset(AbstractPath path, DriverOptions options)
ParameterTypeDescription
pathAbstractPathPath to the dataset.
optionsDriverOptionsDriver-specific options.

Return Value

An instance of Dataset.

Exceptions

exceptioncondition
ArgumentExceptionOptions object has an incorrect type for this driver.
ArgumentNullExceptionThe path is null.
GisExceptionError creating the dataset.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open datasets (see CanOpenDatasets).
InvalidOperationExceptionDataset already exists.

See Also