ArcObjects Library Reference (3DAnalyst)  

IScene.LayerCount Property

The number of layers in the scene.

[Visual Basic .NET]
Public ReadOnly Property LayerCount As Integer
[C#]
public int LayerCount {get;}
[C++]
HRESULT get_LayerCount(
  long* pcLayers
);
[C++]

Parameters

pcLayers [out, retval]   pcLayers is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

IScene Interface