Share via


CompletionSet.IsDisplayed Property

Gets whether the completion list is currently displayed.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Declaration
Public ReadOnly Property IsDisplayed As Boolean
'Usage
Dim instance As CompletionSet 
Dim value As Boolean 

value = instance.IsDisplayed
public bool IsDisplayed { get; }
public:
property bool IsDisplayed {
    bool get ();
}
public function get IsDisplayed () : boolean

Property Value

Type: System.Boolean
Set to true if the completion list is displayed, otherwise false.

Remarks

This property returns the state of an internal flag that is set in the Init method.

The Init method sets the internal flag to false if the declaration parameter is empty or both of the following conditions hold:

  1. The Boolean parameter passed to the method is false.

  2. The GetBestMatch method finds that the match is unique. The GetBestMatch method may be called by the shell because of the calls Init makes to UpdateCompletionStatus.

.NET Framework Security

See Also

Reference

CompletionSet Class

CompletionSet Members

Microsoft.VisualStudio.Package Namespace