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


ILabelCache.AddClass Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILabelCache Interface > ILabelCache.AddClass Method
ArcGIS Developer Help

ILabelCache.AddClass Method

Add a class to the label cache.

[Visual Basic .NET]
Public Sub AddClass ( _
    ByVal classID As Integer, _
    ByVal pLayerProps As ILabelEngineLayerProperties _
)
[C#]
public void AddClass (
    int classID,
    ILabelEngineLayerProperties pLayerProps
);
[C++]
HRESULT AddClass(
  long classID,
  ILabelEngineLayerProperties* pLayerProps
);
[C++]
Parameters
classID [in]

classID is a parameter of type long pLayerProps [in]
pLayerProps is a parameter of type ILabelEngineLayerProperties*

Product Availability

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

See Also

ILabelCache Interface