Compartilhar via


CompletionSet.IsDisplayed Property

Gets whether the completion list is currently displayed.

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

Syntax

'Declaration
Public ReadOnly Property IsDisplayed As Boolean
public bool IsDisplayed { get; }
public:
property bool IsDisplayed {
    bool get ();
}
member IsDisplayed : bool with get
function get IsDisplayed () : boolean

Property Value

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

Microsoft.VisualStudio.Package Namespace