ArcObjects Library Reference (Carto)  

IMxdServer.TOCInfo Property

The TOC Information.

[Visual Basic .NET]
Public Function get_TOCInfo ( _
    ByVal MapName As String, _
    ByVal LayerID As Integer _
) As IArray
[C#]
public IArray get_TOCInfo (
    string MapName,
    int LayerID
);
[C++]
HRESULT get_TOCInfo(
  BSTR MapName,
  long LayerID,
  IArray** tocGroups
);
[C++]

Parameters

MapName [in]   MapName is a parameter of type BSTR LayerID [in]   LayerID is a parameter of type long tocGroups [out, retval]

  tocGroups is a parameter of type IArray

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMxdServer Interface