Freigeben über


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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: System.Int32
The line number in the file.

.NET Framework Security

See Also

Reference

ValidationMessage Class

Microsoft.VisualStudio.Modeling.Validation Namespace