ExpansionFunction.Arguments Property
Gets or sets the arguments to the function.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Property Arguments As String()
'Usage
Dim instance As ExpansionFunction
Dim value As String()
value = instance.Arguments
instance.Arguments = value
public string[] Arguments { get; set; }
public:
property array<String^>^ Arguments {
array<String^>^ get ();
void set (array<String^>^ value);
}
public function get Arguments () : String[]
public function set Arguments (value : String[])
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
- 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.