共用方式為


LabeledStatementSyntax.WithIdentifier(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::LabeledStatementSyntax ^ WithIdentifier(Microsoft::CodeAnalysis::SyntaxToken identifier);
public Microsoft.CodeAnalysis.CSharp.Syntax.LabeledStatementSyntax WithIdentifier (Microsoft.CodeAnalysis.SyntaxToken identifier);
member this.WithIdentifier : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.LabeledStatementSyntax
Public Function WithIdentifier (identifier As SyntaxToken) As LabeledStatementSyntax

Parameters

identifier
SyntaxToken

Returns

Applies to