次の方法で共有


ExpansionFunction.GetIntellisenseList Method

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'宣言
Public Overridable Function GetIntellisenseList As String()
public virtual 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 nulla 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 nulla null reference (Nothing in Visual Basic) (the base class does not support multiple values for an expansion function).

.NET Framework Security

See Also

Reference

ExpansionFunction Class

Microsoft.VisualStudio.Package Namespace