Partilhar via


AnonymousObjectCreationExpressionSyntax.WithInitializers Method

Definition

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

Parameters

Returns

Applies to