Freigeben über


ProvideLanguageServiceAttribute.ShowCompletion Property

Definition

Determines if the Statement completion options are enabled in the Options dialog box.

public:
 property bool ShowCompletion { bool get(); void set(bool value); };
public:
 property bool ShowCompletion { bool get(); void set(bool value); };
public bool ShowCompletion { get; set; }
member this.ShowCompletion : bool with get, set
Public Property ShowCompletion As Boolean

Property Value

Returns true if the Statement completion options are enabled; otherwise, returns false.

Examples

[ProvideLanguageService(typeof(MyLanguageService),           // Required  
                        MyConstants.languageName,            // Required  
                        MyConstants.languageNameResourceID,  // Required  
    // Optional language service properties  
    ShowCompletion = true,  // Statement completion is supported  
                       )]  

Remarks

If a language service supports the IntelliSense operations Completion Word, Parameter Info and List Members, it should set the ShowCompletion property to true to enable the Statement completion options in the Options dialog box. These options include Auto list members, Hide advanced members, and Parameter information.

This property is available for any language service implementation.

The default is false, indicating the Statement completion options are disabled.

The registry entry looks like this:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\[X.Y]\Languages\Language Services\  
  [Language Name]\  
    ShowCompletion = reg_dword: 0x00000001  

Applies to