ExpansionFunction::Arguments Property

 

Gets or sets the arguments to the function.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property array<String^>^ Arguments {
	array<String^>^ get();
	void set(array<String^>^ value);
}

Property Value

Type: array<System::String^>^

An array of arguments of the expansion function.

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.

Return to top
Show: