Share via


ValidationMessage.Line Property

Gets the line number in the file to which the error or the warning refers.

Namespace:  Microsoft.VisualStudio.Modeling.Validation
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public ReadOnly Property Line As Integer
public int Line { get; }
public:
property int Line {
    int get ();
}
member Line : int with get
function get Line () : int

Property Value

Type: Int32
The line number in the file.

.NET Framework Security

See Also

Reference

ValidationMessage Class

Microsoft.VisualStudio.Modeling.Validation Namespace