共用方式為


DeclarationPatternSyntax.WithDesignation(VariableDesignationSyntax) 方法

定義

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

參數

傳回

適用於