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


IGPMessages.Replace Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

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