ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IStandaloneTableFactory Interface / CreateStandaloneTable Method / CreateStandaloneTable(Uri,IStandaloneTableContainerEdit,Int32,String) Method
An URI represents the path to a dataset
A map or group layer where the StandaloneTable will be added
The position of the StandaloneTable in the map or group layer. 0 represents the top most position.
System.String (optional) When not provided, the default display name gets used e.g. the dataset name or alias. (default value = "")

In This Topic
    CreateStandaloneTable(Uri,IStandaloneTableContainerEdit,Int32,String) Method
    In This Topic
    Creates a new StandaloneTable instance with the specified path to a dataset and adds it to a container such as a map. Optionally you can provide a name to override the default display name. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Overloads Function CreateStandaloneTable( _
       ByVal tableUri As Uri, _
       ByVal container As IStandaloneTableContainerEdit, _
       Optional ByVal index As Integer, _
       Optional ByVal tableName As String _
    ) As StandaloneTable

    Parameters

    tableUri
    An URI represents the path to a dataset
    container
    A map or group layer where the StandaloneTable will be added
    index
    The position of the StandaloneTable in the map or group layer. 0 represents the top most position.
    tableName
    System.String (optional) When not provided, the default display name gets used e.g. the dataset name or alias. (default value = "")
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also