Partager via


StructureStatementSyntax.Modifiers Property

Definition

A list of all the modifier tokens that were present on this declaration. If no modifiers were specified, an empty list is returned.

public:
 property Microsoft::CodeAnalysis::SyntaxTokenList Modifiers { Microsoft::CodeAnalysis::SyntaxTokenList get(); };
public Microsoft.CodeAnalysis.SyntaxTokenList Modifiers { get; }
member this.Modifiers : Microsoft.CodeAnalysis.SyntaxTokenList
Public ReadOnly Property Modifiers As SyntaxTokenList

Property Value

Remarks

If nothing is present, an empty list is returned.

Applies to