共用方式為


LanguageService.IsActive Property

Definition

Determines whether the language service is connected to the current view and therefore is active.

public:
 property bool IsActive { bool get(); };
public:
 property bool IsActive { bool get(); };
public bool IsActive { get; }
member this.IsActive : bool
Public ReadOnly Property IsActive As Boolean

Property Value

Returns true if the currently active view belongs to this language service; otherwise, returns false, the language service is not currently active.

Remarks

This property is accessed from OnIdle.

Applies to