Delen via


CompilationUnitSyntax.Attributes Property

Definition

Represents the list of AttributeStatements at the beginning of a source file that contain the Assembly and Module attributes.

public:
 property Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributesStatementSyntax ^> Attributes { Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributesStatementSyntax ^> get(); };
public Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributesStatementSyntax> Attributes { get; }
member this.Attributes : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributesStatementSyntax>
Public ReadOnly Property Attributes As SyntaxList(Of AttributesStatementSyntax)

Property Value

Remarks

If nothing is present, an empty list is returned.

Applies to