ExpansionFunction.GetIntellisenseList Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Override this method if you want intellisense drop support on a list of possible values.
public:
virtual cli::array <System::String ^> ^ GetIntellisenseList();
public:
virtual Platform::Array <Platform::String ^> ^ GetIntellisenseList();
virtual std::Array <std::wstring const &> GetIntellisenseList();
public virtual string[] GetIntellisenseList ();
abstract member GetIntellisenseList : unit -> string[]
override this.GetIntellisenseList : unit -> string[]
Public Overridable Function GetIntellisenseList () As String()
Returns
If the type of the expansion function is a list, returns a list of values; otherwise, returns null
.
Remarks
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).