Compartir a través de


ConstructorDeclarationSyntax.WithInitializer Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorDeclarationSyntax ^ WithInitializer(Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorInitializerSyntax ^ initializer);
public Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax WithInitializer (Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax initializer);
public Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax WithInitializer (Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax? initializer);
member this.WithInitializer : Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax
Public Function WithInitializer (initializer As ConstructorInitializerSyntax) As ConstructorDeclarationSyntax

Parameters

Returns

Applies to