Partager via


ObjectCreationExpressionSyntax.WithInitializer Méthode

Définition

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

Paramètres

Retours

S’applique à