This document is archived and information here might be outdated. Recommended version. |
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*
The Replace method replaces a message into a specified position in this GPMessages collection.