CompletionSet.IsDisplayed Property
Gets whether the completion list is currently displayed.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣告
Public ReadOnly Property IsDisplayed As Boolean
Get
'用途
Dim instance As CompletionSet
Dim value As Boolean
value = instance.IsDisplayed
public bool IsDisplayed { get; }
public:
property bool IsDisplayed {
bool get ();
}
member IsDisplayed : bool
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:
The Boolean parameter passed to the method is false.
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
- 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.