SyntaxFactory.SingleVariableDesignation(SyntaxToken) 方法

定义

创建新的 SingleVariableDesignationSyntax 实例。

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

参数

identifier
SyntaxToken

返回

适用于