Gets a list of all values the expansion function can return.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Public Overridable Function GetIntellisenseList As String()
'使用
Dim instance As ExpansionFunction
Dim returnValue As String()
returnValue = instance.GetIntellisenseList()
public virtual string[] GetIntellisenseList()
public:
virtual array<String^>^ GetIntellisenseList()
public function GetIntellisenseList() : String[]
Return Value
Type: []
If the type of the expansion function is a list, returns a list of values; otherwise, returns a null reference (Nothing in Visual Basic).
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 a null reference (Nothing in Visual Basic) (the base class does not support multiple values for an expansion function).
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.