SyntaxFactory.ConstructorInitializer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ConstructorInitializer(SyntaxKind, SyntaxToken, SyntaxToken, ArgumentListSyntax) |
Creates a new ConstructorInitializerSyntax instance. |
ConstructorInitializer(SyntaxKind, ArgumentListSyntax) |
Creates a new ConstructorInitializerSyntax instance. |
ConstructorInitializer(SyntaxKind, SyntaxToken, SyntaxToken, ArgumentListSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new ConstructorInitializerSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorInitializerSyntax ^ ConstructorInitializer(Microsoft::CodeAnalysis::CSharp::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken colonToken, Microsoft::CodeAnalysis::SyntaxToken thisOrBaseKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::ArgumentListSyntax ^ argumentList);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax ConstructorInitializer (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken colonToken, Microsoft.CodeAnalysis.SyntaxToken thisOrBaseKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentListSyntax argumentList);
static member ConstructorInitializer : Microsoft.CodeAnalysis.CSharp.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentListSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax
Public Shared Function ConstructorInitializer (kind As SyntaxKind, colonToken As SyntaxToken, thisOrBaseKeyword As SyntaxToken, argumentList As ArgumentListSyntax) As ConstructorInitializerSyntax
Parameters
- kind
- SyntaxKind
- colonToken
- SyntaxToken
- thisOrBaseKeyword
- SyntaxToken
- argumentList
- ArgumentListSyntax
Returns
Applies to
ConstructorInitializer(SyntaxKind, ArgumentListSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new ConstructorInitializerSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax ConstructorInitializer (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind, Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentListSyntax argumentList = default);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax ConstructorInitializer (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind, Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentListSyntax? argumentList = default);
static member ConstructorInitializer : Microsoft.CodeAnalysis.CSharp.SyntaxKind * Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentListSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax
Public Shared Function ConstructorInitializer (kind As SyntaxKind, Optional argumentList As ArgumentListSyntax = Nothing) As ConstructorInitializerSyntax
Parameters
- kind
- SyntaxKind
- argumentList
- ArgumentListSyntax
Returns
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.