|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IO > IOverposter2 Interface > IOverposter2.RemoveClass Method (ArcObjects .NET 10.5 SDK) | 
Removes the class at the specified index from the overposter.
[Visual Basic .NET] Public Sub RemoveClass ( _ ByVal ClassIndex As Integer _ )
[C#] public void RemoveClass ( int ClassIndex );
[C++]
HRESULT RemoveClass(
  long ClassIndex
);
[C++]
Parameters ClassIndex [in] ClassIndex is a parameter of type long