ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapMemberIDSet Class / Contains Method / Contains(MapMember,Int64) Method
The MapMember to check.
The objectID of the record to check.

In This Topic
    Contains(MapMember,Int64) Method
    In This Topic
    Determines if the specified record specified by the mapMember and oid pair is in the MapMemberIDSet.
    Syntax
    public bool Contains( 
       MapMember mapMember,
       long oid
    )
    Public Overloads Function Contains( _
       ByVal mapMember As MapMember, _
       ByVal oid As Long _
    ) As Boolean

    Parameters

    mapMember
    The MapMember to check.
    oid
    The objectID of the record to check.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also