ArcObjects Library Reference  (GeoDatabase)    

IGPMessages.Replace Method

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

[Visual Basic 6.0]
Sub Replace(
    ByVal Index As Long, _
    ByVal msg As IGPMessage _
)
[Visual Basic .NET]
Public Sub Replace ( _
    ByVal Index As Integer, _
    ByVal msg As IGPMessage _
)
[C#]
public void Replace (
    int Index,
    IGPMessage msg
);
[Java]
public void replace (
    int Index,
    IGPMessage msg
)
throws
    IOException,
    AutomationException
[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

 


Feedback Send feedback on this page