ArcObjects Library Reference  (GeoDatabase)    

IGPMessages.ReplaceMessage Method

Creates message and replaces it into a specified position.

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

Product Availability

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

Remarks

The ReplaceMessage method creates a GPMessage of type esriGPMEssageTypeInformative and replaces it into a specified position in this GPMessages collection.

See Also

IGPMessages Interface

 


Feedback Send feedback on this page