Udostępnij za pośrednictwem


StackAllocArrayCreationExpressionSyntax.WithInitializer Method

Definition

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

Parameters

Returns

Applies to