ObjectCreationExpressionSyntax.Initializer Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: