Index Property

The index of the message.

Syntax

Property Index As Integer

Parameters

None

Examples

IronPython

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


#Set 
msg.Index = Index


C#

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


//Set 

msg.Index = index;

Remarks