ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.KnowledgeGraph Namespace / KnowledgeGraphInvestigationView Class / ClearSelectedRecords Method
Example

In This Topic
    ClearSelectedRecords Method
    In This Topic
    Clear the selection. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Sub ClearSelectedRecords() 
    public void ClearSelectedRecords()
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Example
    Clear selected records in an investigation view
    {
      // get the active investigation view 
      var iv = KnowledgeGraphInvestigationView.Active;
    
      // clear the selected records
      iv.ClearSelectedRecords();
    }
    Requirements

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

    ArcGIS Pro version: 3.5 or higher.
    See Also