ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapMemberIDSet Class / Item Property
The MapMember to check.
Example

In This Topic
    Item Property (MapMemberIDSet)
    In This Topic
    Gets the list of objectIDs that are contained in the MapMemberIDSet associated with the specified mapMember.
    Syntax
    public IList<long> this[ 
       MapMember mapMember
    ]; {get;}
    Public ReadOnly Default Property Item( _
       ByVal mapMember As MapMember _
    ) As IList(Of Long)

    Parameters

    mapMember
    The MapMember to check.

    Property Value

    a List of objectIDs.
    Example
    Get OIDS from a SelectionSet for a given MapMember
    if (selSet.Contains(us_zips_layer))
    {
      var oids = selSet[us_zips_layer];
    }
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also