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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

声明
Public ReadOnly Property Line As Integer
    Get
public int Line { get; }
public:
property int Line {
    int get ();
}
member Line : int
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