MessageDate Property

The date part of the message date time.

Syntax

ReadOnly Property MessageDate As Date

Parameters

None

Examples

IronPython

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



C#

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


Remarks