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


IRendererFields.AddField Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRendererFields Interface > IRendererFields.AddField Method
ArcGIS Developer Help

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