共用方式為


LanguageService.BeginParse Method

Starts a parse operation on a background thread.

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)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'宣告
Public Function BeginParse ( _
    request As ParseRequest, _
    handler As ParseResultHandler _
) As IAsyncResult
'用途
Dim instance As LanguageService
Dim request As ParseRequest
Dim handler As ParseResultHandler
Dim returnValue As IAsyncResult

returnValue = instance.BeginParse(request, _
    handler)
public IAsyncResult BeginParse(
    ParseRequest request,
    ParseResultHandler handler
)
public:
IAsyncResult^ BeginParse(
    ParseRequest^ request, 
    ParseResultHandler^ handler
)
member BeginParse : 
        request:ParseRequest * 
        handler:ParseResultHandler -> IAsyncResult 
public function BeginParse(
    request : ParseRequest, 
    handler : ParseResultHandler
) : IAsyncResult

Parameters

Return Value

Type: System.IAsyncResult

Remarks

This method is used to initiate all parsing operations other than those needed for colorization (which are handled directly by the Colorizer class).

.NET Framework Security

See Also

Reference

LanguageService Class

LanguageService Members

Microsoft.VisualStudio.Package Namespace