The number of layers in the server under a certain parent.
[Visual Basic .NET] Public Function get_LayerCount ( _ ByVal parentID As Integer _ ) As Integer
[C#] public int get_LayerCount ( int parentID );
[C++]
HRESULT get_LayerCount(
long parentID,
long* Count
);
[C++]Parameters
parentID [in] parentID is a parameter of type long Count [out, retval] Count is a parameter of type long
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.