共用方式為


IVariableDeclarationOperation.Initializer Property

Definition

Optional initializer of the variable.

public:
 property Microsoft::CodeAnalysis::Operations::IVariableInitializerOperation ^ Initializer { Microsoft::CodeAnalysis::Operations::IVariableInitializerOperation ^ get(); };
public Microsoft.CodeAnalysis.Operations.IVariableInitializerOperation Initializer { get; }
public Microsoft.CodeAnalysis.Operations.IVariableInitializerOperation? Initializer { get; }
member this.Initializer : Microsoft.CodeAnalysis.Operations.IVariableInitializerOperation
Public ReadOnly Property Initializer As IVariableInitializerOperation

Property Value

Remarks

In C#, this will always be null.

Applies to