VariableDeclaratorSyntax.WithNames 方法

定义

返回一个副本,其中 Names 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::VariableDeclaratorSyntax ^ WithNames(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ModifiedIdentifierSyntax ^> names);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.VariableDeclaratorSyntax WithNames (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax> names);
member this.WithNames : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.VariableDeclaratorSyntax
Public Function WithNames (names As SeparatedSyntaxList(Of ModifiedIdentifierSyntax)) As VariableDeclaratorSyntax

参数

返回

适用于