Initializes the class by setting the inserts, updates, and deletes table.
[Visual Basic .NET] Public Sub Init ( _ ByVal TargetName As String, _ ByVal Inserts As ITable, _ ByVal Updates As ITable, _ ByVal Deletes As ITable _ )
[C#] public void Init ( string TargetName, ITable Inserts, ITable Updates, ITable Deletes );
[C++]
HRESULT Init(
BSTR TargetName,
ITable* Inserts,
ITable* Updates,
ITable* Deletes
);
[C++]Parameters
TargetName [in] TargetName is a parameter of type BSTR Inserts [in]Inserts is a parameter of type ITable
Updates [in]Updates is a parameter of type ITable
Deletes [in]Deletes is a parameter of type ITable
Product Availability
Remarks
This method is used to initialize the TableDataChangesInfo coclass. This method defines edits based on geodatabase feature classes and tables. The TableDataChangesInfo coclass is used in conjunction with the TablesDataChanges coclass to define a delta file which contains edits. See DataChangesExporter for information on delta files.
The Init method takes the name of the target feature class or table, and up to 3 tables that define the inserts, updates, and deletes.
The TargetName is the string name of the feature class or table that will receive the changes. For example if you want to define edits to the "Buildings" feature class, the value for this parameter would be "Buildings".
The edits to be applied can be specified using geodatabase feature classes or tables.
The Inserts parameter is a table that contains all the inserted records to be applied. If there are no inserts to be applied, you may pass nothing for this parameter.
The Updates paramter is a table that contains all the updates to be applied. If there are no inserts to be applied, you may pass nothing for this parameter.
The Deletes parameter is a table that conatins all the deletes to be applied. Nothing may be passed if there are no deletes specified in a table. Alternatively, IDs to be deleted may also be set using the SetDeletedIDs property after calling the Init method.