Condividi tramite


Source.BeginParse Method (Int32, Int32, TokenInfo, ParseReason, IVsTextView, ParseResultHandler)

Begins a parsing operation with the given token, text view, and parse request handler.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   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 Overridable Function BeginParse ( _
    line As Integer, _
    idx As Integer, _
    info As TokenInfo, _
    reason As ParseReason, _
    view As IVsTextView, _
    callback As ParseResultHandler _
) As ParseRequest
'Utilizzo
Dim instance As Source
Dim line As Integer
Dim idx As Integer
Dim info As TokenInfo
Dim reason As ParseReason
Dim view As IVsTextView
Dim callback As ParseResultHandler
Dim returnValue As ParseRequest

returnValue = instance.BeginParse(line, _
    idx, info, reason, view, callback)
public virtual ParseRequest BeginParse(
    int line,
    int idx,
    TokenInfo info,
    ParseReason reason,
    IVsTextView view,
    ParseResultHandler callback
)
public:
virtual ParseRequest^ BeginParse(
    int line, 
    int idx, 
    TokenInfo^ info, 
    ParseReason reason, 
    IVsTextView^ view, 
    ParseResultHandler^ callback
)
abstract BeginParse : 
        line:int * 
        idx:int * 
        info:TokenInfo * 
        reason:ParseReason * 
        view:IVsTextView * 
        callback:ParseResultHandler -> ParseRequest 
override BeginParse : 
        line:int * 
        idx:int * 
        info:TokenInfo * 
        reason:ParseReason * 
        view:IVsTextView * 
        callback:ParseResultHandler -> ParseRequest 
public function BeginParse(
    line : int, 
    idx : int, 
    info : TokenInfo, 
    reason : ParseReason, 
    view : IVsTextView, 
    callback : ParseResultHandler
) : ParseRequest

Parameters

Return Value

Type: Microsoft.VisualStudio.Package.ParseRequest

Remarks

This method is called by the BeginParse method at the beginning of the parse with Check. At other times it can be called with the appropriate ParseReason.

.NET Framework Security

See Also

Reference

Source Class

Source Members

BeginParse Overload

Microsoft.VisualStudio.Package Namespace