共用方式為


WithExpressionSyntax.WithInitializer(InitializerExpressionSyntax) 方法

定義

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

參數

傳回

適用於