The Layers property returns the Layers collection. This is a read-only property.
Syntax
object.Layers
Example
This example returns the number of layers in a map document.
Debug.Print Plot.Layers.Count
Used by: PlotDocument object