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


IGPMessages.Replace Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPMessages Interface > IGPMessages.Replace Method
ArcGIS Developer Help

IGPMessages.Replace Method

Replace an existing message in a specified location with a new message object.

[Visual Basic .NET]
Public Sub Replace ( _
    ByVal Index As Integer, _
    ByVal msg As IGPMessage _
)
[C#]
public void Replace (
    int Index,
    IGPMessage msg
);
[C++]
HRESULT Replace(
  long Index,
  IGPMessage* msg
);
[C++]
Parameters
Index [in]

Index is a parameter of type long msg [in]
msg is a parameter of type IGPMessage*

Product Availability

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

Remarks

The Replace method replaces a message into a specified position in this GPMessages collection.

See Also

IGPMessages Interface