ArcGIS Pro 3.7 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 Function FindStandaloneTable( _
       ByVal tableURI As String _
    ) As StandaloneTable
    public StandaloneTable FindStandaloneTable( 
       string tableURI
    )

    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 = map.FindStandaloneTable("CIMPATH=map/address_audit.xml");
    
        IReadOnlyList<StandaloneTable> tables = map.FindStandaloneTables("addresses");
    
        // this method finds a standalone table as a child of the map only
        var table = map.StandaloneTables.FirstOrDefault(t => t.Name == "Addresses");
    }
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also