This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRendererFields Interface > IRendererFields.AddField Method (ArcObjects .NET 10.5 SDK) |
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 );
Optional Values
[C++]
HRESULT AddField(
BSTR Name,
BSTR Alias
);
[C++]
Parameters Name [in] Name is a parameter of type BSTR Alias [optional] Alias is a parameter of type BSTR