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


IGPMessages.InitializeMessages Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPMessages Interface > IGPMessages.InitializeMessages Method
ArcGIS Developer Help

IGPMessages.InitializeMessages Method

Creates a number of empty messages and adds them to this messages object.

[Visual Basic .NET]
Public Sub InitializeMessages ( _
    ByVal nMessages As Integer _
)
[C#]
public void InitializeMessages (
    int nMessages
);
[C++]
HRESULT InitializeMessages(
  long nMessages
);
[C++]
Parameters
nMessages [in]

nMessages is a parameter of type long

Product Availability

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

Remarks

The InitializeMessages method creates a number of empty messages and adds them to this collection.

See Also

IGPMessages Interface