共用方式為


SingleVariableDesignationSyntax.WithIdentifier(SyntaxToken) Method

Definition

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

Parameters

identifier
SyntaxToken

Returns

Applies to