共用方式為


TupleTypeSyntax.WithElements Method

Definition

Returns a copy of this with the Elements 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::TupleTypeSyntax ^ WithElements(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::TupleElementSyntax ^> elements);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.TupleTypeSyntax WithElements (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.TupleElementSyntax> elements);
member this.WithElements : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.TupleElementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.TupleTypeSyntax
Public Function WithElements (elements As SeparatedSyntaxList(Of TupleElementSyntax)) As TupleTypeSyntax

Parameters

Returns

Applies to