다음을 통해 공유


IndexerDeclarationSyntax.WithModifiers(SyntaxTokenList) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::IndexerDeclarationSyntax ^ WithModifiers(Microsoft::CodeAnalysis::SyntaxTokenList modifiers);
public Microsoft.CodeAnalysis.CSharp.Syntax.IndexerDeclarationSyntax WithModifiers (Microsoft.CodeAnalysis.SyntaxTokenList modifiers);
override this.WithModifiers : Microsoft.CodeAnalysis.SyntaxTokenList -> Microsoft.CodeAnalysis.CSharp.Syntax.IndexerDeclarationSyntax
Public Function WithModifiers (modifiers As SyntaxTokenList) As IndexerDeclarationSyntax

Parameters

modifiers
SyntaxTokenList

Returns

Applies to