ExpansionFunction::GetIntellisenseList Method ()

 

Gets a list of all values the expansion function can return.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual array<String^>^ GetIntellisenseList()

Return Value

Type: array<System::String^>^

If the type of the expansion function is a list, returns a list of values; otherwise, returns null.

An expansion function can return a value or a list, depending on its type. If the expansion function type is a list, this method returns an array containing the values of the expansion function. The list of values is presented in a drop-down list when the user edits a field in the code snippet that contains this expansion function. See the GetFunctionType method for a discussion of what type an expansion function can be.

The base method always returns null (the base class does not support multiple values for an expansion function).

Return to top
Show: