Partager via


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

Syntax

'Declaration
Public Property IsParsing As Boolean
public bool IsParsing { get; set; }
public:
property bool IsParsing {
    bool get ();
    void set (bool value);
}
member IsParsing : bool with get, set
function get IsParsing () : boolean 
function set IsParsing (value : boolean)

Property Value

Type: 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