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


ILabelCache.AddClass Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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