This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPMessages Interface > IGPMessages.ReplaceMessage Method (ArcObjects .NET 10.4 SDK) |
Creates message and replaces it into a specified position.
[Visual Basic .NET] Public Sub ReplaceMessage ( _ ByVal Index As Integer, _ ByVal Message As String _ )
[C#] public void ReplaceMessage ( int Index, string Message );
[C++]
HRESULT ReplaceMessage(
long Index,
BSTR Message
);
[C++]
Parameters Index [in] Index is a parameter of type long Message [in] Message is a parameter of type BSTR
The ReplaceMessage method creates a GPMessage of type esriGPMEssageTypeInformative and replaces it into a specified position in this GPMessages collection.