共用方式為


DeclarationPatternSyntax.Update(TypeSyntax, VariableDesignationSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::DeclarationPatternSyntax ^ Update(Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ type, Microsoft::CodeAnalysis::CSharp::Syntax::VariableDesignationSyntax ^ designation);
public Microsoft.CodeAnalysis.CSharp.Syntax.DeclarationPatternSyntax Update (Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax designation);
member this.Update : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.DeclarationPatternSyntax
Public Function Update (type As TypeSyntax, designation As VariableDesignationSyntax) As DeclarationPatternSyntax

Parameters

type
TypeSyntax

Returns

Applies to