Returns or sets the specified property for the layer in the Datasource.
Read-write property
object.LayerProperties ( Layer, Property ) = [ value ] |
- Layer
- Required. A Variant that specifies the name or index of the layer.
- Property
- Required. A String that specifies the layer property name.
Variant
The LayerProperties property is used to get or set the value of individual layer properties that are stored in the Datasource and accessed less often. The following properties are supported:
Name | Description | Return Type | Read-only or read/write |
---|---|---|---|
NAME | The layer name as it appears in the table of contents. | String | Read/Write |
LAYERID | The internal unique layer ID. | Long | Read-only |
FOLDER | The layer's folder. | String | Read/Write |