RecursivePatternSyntax.WithDesignation(VariableDesignationSyntax) 方法

定义

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

参数

返回

适用于