共用方式為


VariableDeclarationSyntax.WithVariables Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclarationSyntax ^ WithVariables(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclaratorSyntax ^> variables);
public Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax WithVariables (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax> variables);
member this.WithVariables : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax
Public Function WithVariables (variables As SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As VariableDeclarationSyntax

Parameters

Returns

Applies to