ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.KnowledgeGraph Namespace / KnowledgeGraphInvestigationProjectItem Class / OpenInvestigationPaneAsync Method
Example

In This Topic
    OpenInvestigationPaneAsync Method
    In This Topic
    Opens an investigation pane for the investigation project item
    Syntax
    Public Function OpenInvestigationPaneAsync() As Task(Of IKnowledgeGraphInvestigationPane)
    public Task<IKnowledgeGraphInvestigationPane> OpenInvestigationPaneAsync()

    Return Value

    Task{IKnowledgeGraphInvestigationPane}
    Example
    Open an existing investigation
    {
      // open an existing investigation
      var investigationProjectItems = Project.Current.GetItems<KnowledgeGraphInvestigationProjectItem>();
      var investigationProjectItem = investigationProjectItems.FirstOrDefault(ipi => ipi.Name.Equals("myInvestigation"));
      await QueuedTask.Run(() =>
      {
        KnowledgeGraphInvestigation investigation = investigationProjectItem.GetInvestigation();
        ProApp.Panes.CreateInvestigationPaneAsync(investigation);
    
    
        // or 
        investigation.OpenViewAsync();
      });
    
      // or 
      investigationProjectItem.OpenInvestigationPaneAsync();
    }
    Requirements

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

    ArcGIS Pro version: 3.5 or higher.
    See Also