共用方式為


IndexerDeclarationSyntax.WithThisKeyword(SyntaxToken) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::IndexerDeclarationSyntax ^ WithThisKeyword(Microsoft::CodeAnalysis::SyntaxToken thisKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.IndexerDeclarationSyntax WithThisKeyword (Microsoft.CodeAnalysis.SyntaxToken thisKeyword);
member this.WithThisKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.IndexerDeclarationSyntax
Public Function WithThisKeyword (thisKeyword As SyntaxToken) As IndexerDeclarationSyntax

參數

thisKeyword
SyntaxToken

傳回

適用於