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


IFieldOverrides.Add Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IF > IFieldOverrides Interface > IFieldOverrides.Add Method
ArcGIS Developer Help

IFieldOverrides.Add Method

Creates an explicit override with field content. To erase an existing field override, pass in blank field name.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal Attributes As IGraphicAttributes, _
    ByVal graphicAttributeIndex As Integer, _
    ByVal FieldName As String _
)
[C#]
public void Add (
    IGraphicAttributes Attributes,
    int graphicAttributeIndex,
    string FieldName
);
[C++]
HRESULT Add(
  IGraphicAttributes* Attributes,
  long graphicAttributeIndex,
  BSTR FieldName
);
[C++]
Parameters
Attributes [in]

Attributes is a parameter of type IGraphicAttributes* graphicAttributeIndex [in]
graphicAttributeIndex is a parameter of type long FieldName [in]
FieldName is a parameter of type BSTR

Product Availability

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

See Also

IFieldOverrides Interface