Returns the line the parsing operation started on.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'宣言
Public ReadOnly Property Line As Integer
'使用
Dim instance As AuthoringSink
Dim value As Integer
value = instance.Line
public int Line { get; }
public:
property int Line {
int get ();
}
public function get Line () : int
Property Value
Type: System.Int32
Returns the line the parse started on as passed to the AuthoringSink constructor.
Remarks
This property provides an alternative way for the parser to access the starting line (the other way is through the ParseRequest structure itself).
Permissions
- 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.