Share via


ImplicitObjectCreationExpressionSyntax.WithInitializer Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.ImplicitObjectCreationExpressionSyntax WithInitializer (Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax? initializer);
override this.WithInitializer : Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ImplicitObjectCreationExpressionSyntax
Public Function WithInitializer (initializer As InitializerExpressionSyntax) As ImplicitObjectCreationExpressionSyntax

Parameters

Returns

Applies to