ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SelectionSet Class / Contains Method / Contains(MapMember) Method
The MapMember to check.

Contains(MapMember) Method
Determines if records from the specified mapMember are in the SelectionSet.
Syntax
public bool Contains( 
   MapMember mapMember
)

Parameters

mapMember
The MapMember to check.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 3.0 or higher.
See Also