SyntaxFactory.CompilationUnit Methode
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.
Überlädt
CompilationUnit() |
Erstellt eine neue CompilationUnitSyntax-Instanz. |
CompilationUnit(SyntaxList<ExternAliasDirectiveSyntax>, SyntaxList<UsingDirectiveSyntax>, SyntaxList<AttributeListSyntax>, SyntaxList<MemberDeclarationSyntax>) |
Erstellt eine neue CompilationUnitSyntax-Instanz. |
CompilationUnit(SyntaxList<ExternAliasDirectiveSyntax>, SyntaxList<UsingDirectiveSyntax>, SyntaxList<AttributeListSyntax>, SyntaxList<MemberDeclarationSyntax>, SyntaxToken) |
Erstellt eine neue CompilationUnitSyntax-Instanz. |
CompilationUnit()
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
Erstellt eine neue CompilationUnitSyntax-Instanz.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::CompilationUnitSyntax ^ CompilationUnit();
public static Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax CompilationUnit ();
static member CompilationUnit : unit -> Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax
Public Shared Function CompilationUnit () As CompilationUnitSyntax
Gibt zurück
Gilt für:
CompilationUnit(SyntaxList<ExternAliasDirectiveSyntax>, SyntaxList<UsingDirectiveSyntax>, SyntaxList<AttributeListSyntax>, SyntaxList<MemberDeclarationSyntax>)
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
Erstellt eine neue CompilationUnitSyntax-Instanz.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::CompilationUnitSyntax ^ CompilationUnit(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::ExternAliasDirectiveSyntax ^> externs, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::UsingDirectiveSyntax ^> usings, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::MemberDeclarationSyntax ^> members);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax CompilationUnit (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax> externs, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> usings, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> members);
static member CompilationUnit : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax
Public Shared Function CompilationUnit (externs As SyntaxList(Of ExternAliasDirectiveSyntax), usings As SyntaxList(Of UsingDirectiveSyntax), attributeLists As SyntaxList(Of AttributeListSyntax), members As SyntaxList(Of MemberDeclarationSyntax)) As CompilationUnitSyntax
Parameter
- externs
- SyntaxList<ExternAliasDirectiveSyntax>
- usings
- SyntaxList<UsingDirectiveSyntax>
- attributeLists
- SyntaxList<AttributeListSyntax>
- members
- SyntaxList<MemberDeclarationSyntax>
Gibt zurück
Gilt für:
CompilationUnit(SyntaxList<ExternAliasDirectiveSyntax>, SyntaxList<UsingDirectiveSyntax>, SyntaxList<AttributeListSyntax>, SyntaxList<MemberDeclarationSyntax>, SyntaxToken)
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
- Quelle:
- Syntax.xml.Main.Generated.cs
Erstellt eine neue CompilationUnitSyntax-Instanz.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::CompilationUnitSyntax ^ CompilationUnit(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::ExternAliasDirectiveSyntax ^> externs, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::UsingDirectiveSyntax ^> usings, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::MemberDeclarationSyntax ^> members, Microsoft::CodeAnalysis::SyntaxToken endOfFileToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax CompilationUnit (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax> externs, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> usings, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> members, Microsoft.CodeAnalysis.SyntaxToken endOfFileToken);
static member CompilationUnit : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax
Public Shared Function CompilationUnit (externs As SyntaxList(Of ExternAliasDirectiveSyntax), usings As SyntaxList(Of UsingDirectiveSyntax), attributeLists As SyntaxList(Of AttributeListSyntax), members As SyntaxList(Of MemberDeclarationSyntax), endOfFileToken As SyntaxToken) As CompilationUnitSyntax
Parameter
- externs
- SyntaxList<ExternAliasDirectiveSyntax>
- usings
- SyntaxList<UsingDirectiveSyntax>
- attributeLists
- SyntaxList<AttributeListSyntax>
- members
- SyntaxList<MemberDeclarationSyntax>
- endOfFileToken
- SyntaxToken
Gibt zurück
Gilt für:
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.