다음을 통해 공유


StackAllocArrayCreationExpressionSyntax.WithInitializer 메서드

정의

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

매개 변수

반환

적용 대상