This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPMessages Interface > IGPMessages.AddWarning Method (ArcObjects .NET 10.4 SDK) |
Adds a warning message to the messages.
[Visual Basic .NET] Public Sub AddWarning ( _ ByVal Message As String _ )
[C#] public void AddWarning ( string Message );
[C++]
HRESULT AddWarning(
BSTR Message
);
[C++]
Parameters Message [in] Message is a parameter of type BSTR
The AddWarning method creates a GPMessage of type esriGPMEssageTypeWarning and adds it to this collection.