SeverityStr Property

The severity of this message, formatted as a string.

Syntax

ReadOnly Property SeverityStr As String

Parameters

None

Examples

IronPython

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


#Set 
msg.SeverityStr = msg_sev_str


C#

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


//Set 

msg.SeverityStr = msg_sev_str;

Remarks