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
- 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.