This document is archived and information here might be outdated.  Recommended version.

IScene.Layer Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IS > IScene Interface > IScene.Layer Property
ArcGIS Developer Help

IScene.Layer Property

The layer corresponding to a given index.

[Visual Basic .NET]
Public Function get_Layer ( _
    ByVal index As Integer _
) As ILayer
public ILayer get_Layer (
    int index
HRESULT get_Layer(
  long index,
  ILayer** ppLayer
index [in]

index is a parameter of type long ppLayer [out, retval]
ppLayer is a parameter of type ILayer**

Product Availability

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

See Also

IScene Interface

.NET Samples

Creating a toolbar of globe tools