This document is archived and information here might be outdated.  Recommended version.


ITableDataChangesInfo.SetDeletedIDs Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabaseDistributed)  

ITableDataChangesInfo.SetDeletedIDs Method

The deleted ids.

[Visual Basic .NET]
Public Sub SetDeletedIDs ( _
    ByVal DeletedIDs As ILongArray, _
    ByVal DeletedGIDs As IStringArray _
)
[C#]
public void SetDeletedIDs (
    ILongArray DeletedIDs,
    IStringArray DeletedGIDs
);
[C++]
HRESULT SetDeletedIDs(
  ILongArray* DeletedIDs,
  IStringArray* DeletedGIDs
);
[C++]

Parameters DeletedIDs [in]
DeletedIDs is a parameter of type ILongArray* DeletedGIDs [in]
DeletedGIDs is a parameter of type IStringArray*

Product Availability

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

Errors Returned

2147220955 FDO_E_OBJECT_NOT_INITIALIZED

The object is not initialized.

Remarks

The SetDeletedIDs method is a way to define the deletes based on an array of IDs and/or GlobalIDs. 

Before using this method, the TableDataChangesInfo coclass must be initialized with the ITableDataChangesInfo::Init method, otherwise an error will be returned. 

If the deletes are specified using the SetDeletedIDs method, any deletes previously defined by a table using the Init method will be ignored.  The source of deletes may only come from either the Init method, or the SetDeletedIDs method. 

The DeletedIDs parameter takes a long array of IDs of the records to delete.

The DeletedGIDs parameter takes a string array of Global ID values for the records to delete. 

 

See Also

ITableDataChangesInfo Interface