Partager via


AnonymousObjectCreationExpressionSyntax.WithInitializers Méthode

Définition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::AnonymousObjectCreationExpressionSyntax ^ WithInitializers(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AnonymousObjectMemberDeclaratorSyntax ^> initializers);
public Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousObjectCreationExpressionSyntax WithInitializers (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousObjectMemberDeclaratorSyntax> initializers);
member this.WithInitializers : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousObjectMemberDeclaratorSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousObjectCreationExpressionSyntax
Public Function WithInitializers (initializers As SeparatedSyntaxList(Of AnonymousObjectMemberDeclaratorSyntax)) As AnonymousObjectCreationExpressionSyntax

Paramètres

Retours

S’applique à