ArcObjects Library Reference (DataSourcesFile)  

IArcInfoWorkspace.CreateInfoTable Method

Creates a new Info Table.

[Visual Basic .NET]
Public Function CreateInfoTable ( _
    ByVal Name As String, _
    ByVal ItemSet As IArcInfoItems _
) As ITable
[C#]
public ITable CreateInfoTable (
    string Name,
    IArcInfoItems ItemSet
);
[C++]
HRESULT CreateInfoTable(
  BSTR Name,
  IArcInfoItems* ItemSet,
  ITable** Table
);
[C++]

Parameters

Name [in]   Name is a parameter of type BSTR ItemSet [in]

  ItemSet is a parameter of type IArcInfoItems

Table [out, retval]

  Table is a parameter of type ITable

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Errors Returned

If the name already exists, or the string is longer than 32 characters an error will be returned.

Functional License Check

If your application/site is not appropriately licensed, CreateInfoTable can return an Err.Number of FDO_E_NO_SCHEMA_LICENSE.

Remarks

CreateInfoTable creates  a new Info table in the workspace that is being referenced. The ITable pointer that is returned can be used to add, later and delete items in the table.

The name argument, for the name of the new table, can be up to 32 characters long inclusive of the extension. The name cannot be an existing info table. The table will be created in the workspace used to by the IArcInfoWorkspace, path names are are recognized by this method.

The ItemSet object must be given, although it does not have to contain any items. If the ItemSet contains items they will be created in the new table.

 

See Also

IArcInfoWorkspace Interface