ShapefileDriver.EditLayer

EditLayer(AbstractPath, DriverOptions)

以编辑模式打开图层。

public override VectorLayer EditLayer(AbstractPath path, DriverOptions options = null)
参数类型描述
pathAbstractPath文件的路径。
optionsDriverOptions驱动程序特定的选项。

返回值

VectorLayer 的实例。

异常

异常条件
ArgumentExceptionOptions 对象的类型对该驱动程序不正确。
ArgumentNullException路径为 null
GisException从文件读取要素时出错。
IOException发生了 I/O 错误。

另见


EditLayer(string, ShapefileOptions)

以编辑模式打开图层。

public VectorLayer EditLayer(string path, ShapefileOptions options = null)
参数类型描述
path字符串文件的路径。
optionsShapefileOptions驱动程序特定的选项。

返回值

VectorLayer 的实例。

另见


EditLayer(AbstractPath, ShapefileOptions)

以编辑模式打开图层。

public VectorLayer EditLayer(AbstractPath path, ShapefileOptions options = null)
参数类型描述
pathAbstractPath文件的路径。
optionsShapefileOptions驱动程序特定的选项。

返回值

VectorLayer 的实例。

另见