Interface ICompletionItem
Represents a completion item returned by the method GenerateCompletionItems(string, int).
public interface ICompletionItem
- Extension Methods
Properties (4)
DocumentationXml
Gets this completion item documentation?
string DocumentationXml { get; }
Property Value
Kind
Gets the kind of this completion item.
KindOfCompletionItem Kind { get; }
Property Value
Overloads
If this completion item is a method, gets the eventually overload of the method.
IReadOnlyList<ICompletionItem> Overloads { get; }
Property Value
Text
Gets this completion item text.
string Text { get; }
Property Value
Methods (2)
GetImage<T>()
Gets this completion item image.
T GetImage<T>() where T : class
Returns
- T
Type Parameters
TSo far the GetImage<T>() parameter type T must be System.Drawing.Image. This requirement might evolve in future version when other UI framework will be supported.
GetImage<T, TTheme>(TTheme)
Gets this completion item image
T GetImage<T, TTheme>(TTheme theme) where T : class where TTheme : class
Parameters
themeTTheme
Returns
- T
Type Parameters
TTTheme
Remarks
This overload is for internal usage only because it lets a chance to pass a a theme object to obtain a themed image.