CompilationUnitSyntax.Attributes Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Stellt die Liste der AttributeStatements am Anfang einer Quelldatei dar, die die Assembly- und Modulattribute enthält.
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)
Eigenschaftswert
Hinweise
Wenn nichts vorhanden ist, wird eine leere Liste zurückgegeben.