다음을 통해 공유


PropertyStatementSyntax.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. A bitfield version of all the modifiers ORed together, which is in many cases easier to use, can be obtained with the Modifiers property.

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