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


IRendererFields.AddField Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IRendererFields.AddField Method

Adds a field to the renderer.

[Visual Basic .NET]
Public Sub AddField ( _
    ByVal Name As String, _
    [ByVal Alias As String] _
)
[C#]
public void AddField (
    string Name,
    string Alias
);
[C++]
HRESULT AddField(
  BSTR Name,
  BSTR Alias
);
[C++]

Parameters Name [in]
Name is a parameter of type BSTR Alias [in, optional]
Alias is a parameter of type BSTR

Product Availability

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

See Also

IRendererFields Interface