Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the language service is connected to the current view and therefore is active.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public ReadOnly Property IsActive As Boolean
'Usage
Dim instance As LanguageService
Dim value As Boolean
value = instance.IsActive
public bool IsActive { get; }
public:
property bool IsActive {
bool get ();
}
public function get IsActive () : boolean
Property Value
Type: System.Boolean
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.