次の方法で共有


ParseRequest.Callback Property

Specifies the callback delegate to be called when the parsing operation has completed.

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

'宣言
Public Property Callback As ParseResultHandler
public ParseResultHandler Callback { get; set; }

Property Value

Type: Microsoft.VisualStudio.Package.ParseResultHandler
Returns a ParseResultHandler delegate.

Remarks

This property is assigned to after the ParseRequest object has been created by a call to CreateParseRequest. If this property returns null, then no call back is required.

BeginParse in the LanguageService class sets this property just before it starts the parsing operation.

.NET Framework Security

See Also

Reference

ParseRequest Class

Microsoft.VisualStudio.Package Namespace