Message Property

The descriptive message content.

Syntax

Property Message As String

Parameters

None

Examples

IronPython

#Get 
msg = VSMessage(0, DateTime.Now, VSSeverity.Error, "IronPython script", "My test message", "Additional info")
msg_str = msg.Message


#Set 
msg.Message = msg_str


C#

//Get 
VSMessage msg = new VSMessage(0, DateTime.Now, VSSeverity.Error, "C# script", "My test message", "Additional info");
string msg_str = msg.Message;


//Set 

msg.Message = msg_str;

Remarks