Condividi tramite


ParseRequest Constructor (Int32, Int32, TokenInfo, String, String, ParseReason, IVsTextView, AuthoringSink, Boolean)

Initializes a new instance of the ParseRequest class.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Dichiarazione
Public Sub New ( _
    line As Integer, _
    col As Integer, _
    info As TokenInfo, _
    src As String, _
    fname As String, _
    reason As ParseReason, _
    view As IVsTextView, _
    sink As AuthoringSink, _
    synchronous As Boolean _
)
'Utilizzo
Dim line As Integer
Dim col As Integer
Dim info As TokenInfo
Dim src As String
Dim fname As String
Dim reason As ParseReason
Dim view As IVsTextView
Dim sink As AuthoringSink
Dim synchronous As Boolean

Dim instance As New ParseRequest(line, col, _
    info, src, fname, reason, view, sink, _
    synchronous)
public ParseRequest(
    int line,
    int col,
    TokenInfo info,
    string src,
    string fname,
    ParseReason reason,
    IVsTextView view,
    AuthoringSink sink,
    bool synchronous
)
public:
ParseRequest(
    int line, 
    int col, 
    TokenInfo^ info, 
    String^ src, 
    String^ fname, 
    ParseReason reason, 
    IVsTextView^ view, 
    AuthoringSink^ sink, 
    bool synchronous
)
new : 
        line:int * 
        col:int * 
        info:TokenInfo * 
        src:string * 
        fname:string * 
        reason:ParseReason * 
        view:IVsTextView * 
        sink:AuthoringSink * 
        synchronous:bool -> ParseRequest
public function ParseRequest(
    line : int, 
    col : int, 
    info : TokenInfo, 
    src : String, 
    fname : String, 
    reason : ParseReason, 
    view : IVsTextView, 
    sink : AuthoringSink, 
    synchronous : boolean
)

Parameters

  • line
    Type: System.Int32
    The line on which to start the parsing operation.
  • col
    Type: System.Int32
    The character offset on the first line to begin the parsing operation.
  • fname
    Type: System.String
    The name of the source file to be parsed.
  • synchronous
    Type: System.Boolean
    true if the request is synchronous, false if it is asynchronous.

.NET Framework Security

See Also

Reference

ParseRequest Class

ParseRequest Members

ParseRequest Overload

Microsoft.VisualStudio.Package Namespace