共用方式為


DefaultSwitchLabelSyntax.Update(SyntaxToken, SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::DefaultSwitchLabelSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken keyword, Microsoft::CodeAnalysis::SyntaxToken colonToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.DefaultSwitchLabelSyntax Update (Microsoft.CodeAnalysis.SyntaxToken keyword, Microsoft.CodeAnalysis.SyntaxToken colonToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.DefaultSwitchLabelSyntax
Public Function Update (keyword As SyntaxToken, colonToken As SyntaxToken) As DefaultSwitchLabelSyntax

Parameters

keyword
SyntaxToken
colonToken
SyntaxToken

Returns

Applies to