VariableDeclarationSyntax.WithVariables 方法

定义

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

参数

返回

适用于