ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.PluginDatastore Namespace / PluginDatastore Class / OpenTable Method
The name of the table to open.

In This Topic
    OpenTable Method (PluginDatastore)
    In This Topic
    Gets the ArcGIS.Core.Data.Table or ArcGIS.Core.Data.FeatureClass (if it is spatially enabled) associated with name. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public Table OpenTable( 
       string name
    )
    Public Function OpenTable( _
       ByVal name As String _
    ) As Table

    Parameters

    name
    The name of the table to open.

    Return Value

    The ArcGIS.Core.Data.Table or ArcGIS.Core.Data.FeatureClass (if it is spatially enabled) associated with name.
    Exceptions
    ExceptionDescription

    No valid plug-in data store has been opened prior to calling this operation.

    -or-

    name cannot be opened as a ArcGIS.Core.Data.Table or ArcGIS.Core.Data.FeatureClass.

    name is null or an empty string.
    A geodatabase-related exception has occurred. For example, the name is invalid.
    Remarks
    Any input name argument for this method should be one of the returned values in GetTableNames.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also