共用方式為


SyntaxFactory.ConstructorInitializer Method

Definition

Overloads

ConstructorInitializer(SyntaxKind, ArgumentListSyntax)

Creates a new ConstructorInitializerSyntax instance.

ConstructorInitializer(SyntaxKind, SyntaxToken, SyntaxToken, ArgumentListSyntax)

Creates a new ConstructorInitializerSyntax instance.

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

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

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

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