ImplicitArrayCreationExpressionSyntax.WithInitializer 方法

定义

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

参数

返回

适用于