ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / ShowPopup Method / ShowPopup(MapMember,Int64) Method
The MapMember containing the feature.
The object id of the feature.
Example

In This Topic
    ShowPopup(MapMember,Int64) Method
    In This Topic
    Show a pop-up for a feature. This method must be called on the UI thread.
    Syntax
    Public Overloads Sub ShowPopup( _
       ByVal mapMember As MapMember, _
       ByVal featureID As Long _
    ) 
    public void ShowPopup( 
       MapMember mapMember,
       long featureID
    )

    Parameters

    mapMember
    The MapMember containing the feature.
    featureID
    The object id of the feature.
    Exceptions
    ExceptionDescription
    Popups must be created on the UI thread
    Example
    Show a pop-up for a feature
    {
      mapView.ShowPopup(mapMember, objectID);
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also