This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegend Interface > ILegend.AutoAdd Property (ArcObjects .NET 10.4 SDK) |
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