共用方式為


VariableDeclarationSyntax.AddVariables(VariableDeclaratorSyntax[]) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclarationSyntax ^ AddVariables(... cli::array <Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclaratorSyntax ^> ^ items);
public Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax AddVariables (params Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax[] items);
member this.AddVariables : Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax[] -> Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax
Public Function AddVariables (ParamArray items As VariableDeclaratorSyntax()) As VariableDeclarationSyntax

Parameters

Returns

Applies to