IGraphicFeatureServer2.AddAttachments2 Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IGraphicFeatureServer2.AddAttachments2 Method

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

Parameters gdbVersion [in]
gdbVersion is a parameter of type BSTR LayerOrTableID [in]
LayerOrTableID is a parameter of type long attachmentDataArray [in]
attachmentDataArray is a parameter of type IAttachmentDataArray* rollbackOnFailure [in]
rollbackOnFailure is a parameter of type bool

Product Availability

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

See Also

IGraphicFeatureServer2 Interface