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


IGraphicFeatureServer2.DeleteByID2 Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicFeatureServer2 Interface > IGraphicFeatureServer2.DeleteByID2 Method
ArcGIS Developer Help

IGraphicFeatureServer2.DeleteByID2 Method

[Visual Basic .NET]
Public Function DeleteByID2 ( _
    ByVal gdbVersion As String, _
    ByVal LayerOrTableID As Integer, _
    ByVal idsOfObjectsToDelete As ILongArray, _
    ByVal rollbackOnFailure As Boolean _
) As IEditResults
[C#]
public IEditResults DeleteByID2 (
    string gdbVersion,
    int LayerOrTableID,
    ILongArray idsOfObjectsToDelete,
    bool rollbackOnFailure
);
[C++]
HRESULT DeleteByID2(
  BSTR gdbVersion,
  long LayerOrTableID,
  ILongArray* idsOfObjectsToDelete,
  VARIANT_BOOL rollbackOnFailure
);
[C++]
Parameters
gdbVersion [in]

gdbVersion is a parameter of type BSTR LayerOrTableID [in]
LayerOrTableID is a parameter of type long idsOfObjectsToDelete [in]
idsOfObjectsToDelete is a parameter of type ILongArray* rollbackOnFailure [in]
rollbackOnFailure is a parameter of type bool

Product Availability

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

See Also

IGraphicFeatureServer2 Interface