次の方法で共有


ExpansionFunction.Arguments Property

Gets or sets the arguments to the function.

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 Property Arguments As String()
public string[] Arguments { get; set; }

Property Value

Type: array<System.String[]
An array of arguments of the expansion function.

Remarks

Each argument represents another declaration in the code snippet file and can be either a literal or an object. The value for each argument is obtained in the GetFieldValue method that is in turned called by the GetArgument method. The GetArgument method can be called from your implementation of the GetCurrentValue method.

.NET Framework Security

See Also

Reference

ExpansionFunction Class

Microsoft.VisualStudio.Package Namespace