FileGdbDriver.CreateDataset

CreateDataset(string, FileGdbOptions)

Creates a dataset.

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

Return Value

An instance of Dataset.

Exceptions

exceptioncondition
ArgumentExceptionOptions object has an incorrect type for this driver.
ArgumentNullExceptionThe path is null.
GisExceptionError reading 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 override 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 reading the dataset.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open datasets (see CanOpenDatasets).
InvalidOperationExceptionDataset already exists.

See Also


CreateDataset(AbstractPath, FileGdbOptions)

Creates a dataset.

public Dataset CreateDataset(AbstractPath path, FileGdbOptions options)
ParameterTypeDescription
pathAbstractPathPath to the dataset.
optionsFileGdbOptionsDriver-specific options.

Return Value

An instance of Dataset.

Exceptions

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

See Also