ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Map Class / FindStandaloneTable Method
The URI of the StandaloneTable which is a unique identifier
Example

In This Topic
    FindStandaloneTable Method (Map)
    In This Topic
    Finds a StandaloneTable using a URI. Group layers within the map are also searched.
    Syntax
    public StandaloneTable FindStandaloneTable( 
       string tableURI
    )
    Public Function FindStandaloneTable( _
       ByVal tableURI As String _
    ) As StandaloneTable

    Parameters

    tableURI
    The URI of the StandaloneTable which is a unique identifier

    Return Value

    Remarks
    To search just StandaloneTables within the map container for the matching URI and not include StandaloneTables within group layers (within the map), use StandaloneTables
    Example
    Find a standalone table
    // these routines find a standalone table whether it is a child of the Map or a GroupLayer
    var tblFind = aMap.FindStandaloneTable("CIMPATH=map/address_audit.xml");
    
    IReadOnlyList<StandaloneTable> tables = aMap.FindStandaloneTables("addresses");
    
    // this method finds a standalone table as a child of the map only
    var table = aMap.StandaloneTables.FirstOrDefault(t => t.Name == "Addresses");
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also