Dataset.Create

Create(string, FileDriver)

Creates a dataset.

public static Dataset Create(string path, FileDriver driver)
ParameterTypeDescription
pathStringPath to the dataset.
driverFileDriverDriver to use.

Return Value

An instance of Dataset.

Exceptions

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

See Also


Create(AbstractPath, FileDriver)

Creates a dataset.

public static Dataset Create(AbstractPath path, FileDriver driver)
ParameterTypeDescription
pathAbstractPathPath to the dataset.
driverFileDriverDriver to use.

Return Value

An instance of Dataset.

Exceptions

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

See Also


Create(string, FileDriver, DriverOptions)

Creates a dataset.

public static Dataset Create(string path, FileDriver driver, DriverOptions options)
ParameterTypeDescription
pathStringPath to the dataset.
driverFileDriverDriver to use.
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 while creating the dataset.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open datasets.
InvalidOperationExceptionDataset already exists.

See Also


Create(AbstractPath, FileDriver, DriverOptions)

Creates a dataset.

public static Dataset Create(AbstractPath path, FileDriver driver, DriverOptions options)
ParameterTypeDescription
pathAbstractPathPath to the dataset.
driverFileDriverDriver to use.
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 while creating the dataset.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open datasets.
InvalidOperationExceptionDataset already exists.

See Also