Assembly: Microsoft.VisualStudio.TextManager.Interop (in microsoft.visualstudio.textmanager.interop.dll)
[InterfaceTypeAttribute(1)] [GuidAttribute("0EF79249-B0BF-4CD0-A966-C4713546C3A5")] public interface IVsCompletionSet
/** @attribute InterfaceTypeAttribute(1) */ /** @attribute GuidAttribute("0EF79249-B0BF-4CD0-A966-C4713546C3A5") */ public interface IVsCompletionSet
Implement this interface on your language service object to provide statement completion. Your language service object must also implement. To pass the text view a pointer to your IOleCommandTarget implementation, call .
The command filter intercepts commands that the user types into the code window. Monitor the command information to know when to display statement completion information to the user. For example, statement completion information is provided in Visual C++ when the user types "->" and when the user types "." in Visual Basic.
Statement completion can also include displaying a list of completion options when a user types a letter in a particular scope. For example, typing 'c' in a namespace of a Visual C# program might present a list of all completions for that scope including "class". If the 'c' is typed inside a method's scope, however, the completions might include only those variables that start with the letter 'c' as "class" does not make sense inside a method.
All of these statement completions are part of the IntelliSense feature set.Notes to Implementers Implement this interface on your language service object to include statement completion in your language service. See illustrations of the implementation and/or calling of this interface in the sample . This interface can also be implemented in its own class. Notes to Callers Called by the view to return statement completion information to the user.