ArcGIS Pro 2.7 API Reference Guide
CreateStandaloneTable(Item,IStandaloneTableContainerEdit,String) Method

ArcGIS.Desktop.Mapping Namespace > StandaloneTableFactory Class > CreateStandaloneTable Method : CreateStandaloneTable(Item,IStandaloneTableContainerEdit,String) Method
An ArcGIS.Desktop.Core.Item
A map instance where the StandaloneTable will be added
System.String (optional) When not provided, the default display name gets used e.g. the dataset name or alias. (default value = "")
Overloaded. Creates a new StandaloneTable instance using the specified Item and add 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
Public Overloads Function CreateStandaloneTable( _
   ByVal item As Item, _
   ByVal container As IStandaloneTableContainerEdit, _
   Optional ByVal tableName As String _
) As StandaloneTable

Parameters

item
An ArcGIS.Desktop.Core.Item
container
A map instance where the StandaloneTable will be added
tableName
System.String (optional) When not provided, the default display name gets used e.g. the dataset name or alias. (default value = "")

Return Value

Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
You should always check using StandaloneTableFactory.Instance.CanCreateStandaloneTableFrom() method before passing an item to this method.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

StandaloneTableFactory Class
StandaloneTableFactory Members
Overload List