共用方式為


VarPatternSyntax.WithDesignation(VariableDesignationSyntax) Method

Definition

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

Parameters

Returns

Applies to