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


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

IGraphicFeatureServer2.Add2 Method

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

gdbVersion is a parameter of type BSTR LayerOrTableID [in]
LayerOrTableID is a parameter of type long DataObjects [in]
DataObjects is a parameter of type IDataObjects* rollbackOnFailure [in]
rollbackOnFailure is a parameter of type bool

Product Availability

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

See Also

IGraphicFeatureServer2 Interface