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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.