共用方式為


InterfaceDeclarationSyntax.WithIdentifier(SyntaxToken) 方法

定義

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

參數

identifier
SyntaxToken

傳回

適用於