Share via


DeclarationPatternSyntax.WithDesignation(VariableDesignationSyntax) Method

Definition

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

Parameters

Returns

Applies to