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.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.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)

Syntax

'Declaration
Public Property Arguments As String()
public string[] Arguments { get; set; }
public:
property array<String^>^ Arguments {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
member Arguments : string[] with get, set
function get Arguments () : String[]
function set Arguments (value : String[])

Property Value

Type: array<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