Opens a shapefile or DBF file without adding the layer to the map.
object.Open ( FileName [,Mode] ) |
|
- FileName
- Required. A String that specifies the complete filepath of the shapefile or .DBF file.
- Mode
- Optional. A Long that specifies access permissions of the file.
Mode is a long specifying the access permissions of the file. [Optional]. The following Mode values are supported:
| Mode | Description |
|---|---|
| 1 | Indicates read-only permissions. |
| 2 | Indicates read/write permissions. |