Delen via


VariableDeclaratorSyntax.WithNames Method

Definition

Returns a copy of this with the Names property changed to the specified value. Returns this instance if the specified value is the same as the current value.

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

Parameters

Returns

Applies to