共用方式為


LanguageService.IsParsing Property

Determines if a background parse is in progress.

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

Syntax

'宣告
Public Property IsParsing As Boolean
public bool IsParsing { get; set; }

Property Value

Type: System.Boolean
Returns true if a background parsing operation is running; otherwise, returns false.

Remarks

This property is set by the base class just before the ParseSource method is called on a background thread and the property is cleared just after the ParseSource method returns.

.NET Framework Security

See Also

Reference

LanguageService Class

Microsoft.VisualStudio.Package Namespace