Share via


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