Partilhar via


ObjectCreationExpressionSyntax.Initializer Property

Definition

InitializerExpressionSyntax representing the initializer expression for the object being created.

public:
 property Microsoft::CodeAnalysis::CSharp::Syntax::InitializerExpressionSyntax ^ Initializer { Microsoft::CodeAnalysis::CSharp::Syntax::InitializerExpressionSyntax ^ get(); };
public Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax Initializer { get; }
public override Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax? Initializer { get; }
public Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax? Initializer { get; }
member this.Initializer : Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax
Public ReadOnly Property Initializer As InitializerExpressionSyntax
Public Overrides ReadOnly Property Initializer As InitializerExpressionSyntax

Property Value

Applies to