ArcObjects Library Reference (Carto)  

ILegend3.AutoAdd Property

Indicates if a new item should be added when a new layer is added to the map.

[Visual Basic .NET]
Public Property AutoAdd As Boolean
[C#]
public bool AutoAdd {get; set;}
[C++]
HRESULT get_AutoAdd(
  VARIANT_BOOL* AutoAdd
);
[C++]
HRESULT put_AutoAdd(
  VARIANT_BOOL AutoAdd
);
[C++]

Parameters

AutoAdd [out, retval]   AutoAdd is a parameter of type VARIANT_BOOL AutoAdd [in]   AutoAdd is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

ILegend3 Interface