共用方式為


ListPatternSyntax.WithDesignation(VariableDesignationSyntax) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.ListPatternSyntax WithDesignation (Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax? designation);
member this.WithDesignation : Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ListPatternSyntax
Public Function WithDesignation (designation As VariableDesignationSyntax) As ListPatternSyntax

Parameters

Returns

Applies to