다음을 통해 공유


BaseObjectCreationExpressionSyntax.WithInitializer Method

Definition

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

Parameters

Returns

Applies to