共用方式為


RecursivePatternSyntax.WithDesignation(VariableDesignationSyntax) Method

Definition

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

Parameters

Returns

Applies to