ExpansionFunction.Arguments Property
Gets or sets the arguments to the function.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
‘선언
Public Property Arguments As String()
Get
Set
‘사용 방법
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);
}
member Arguments : string[] with get, set
function get Arguments () : String[]
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.