We recommend using Visual Studio 2017

MapLegendCollection Class

Represents a collection of MapLegend objects.

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

public sealed class MapLegendCollection : MapObjectCollectionBase<MapLegend>

The MapLegendCollection type exposes the following members.

Public propertyCountGets the number of items in the collection. (Overrides ReportElementCollectionBase<T>.Count.)
Public propertyItemGets the item at the specified index. (Inherited from MapObjectCollectionBase<T>.)

Protected methodCreateMapObjectInfrastructure. (Inherited from MapObjectCollectionBase<T>.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumeratorGets the enumerator for this ReportElementCollectionBase<T>. (Inherited from ReportElementCollectionBase<T>.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.