共用方式為


IVariableDeclarationGroupOperation.Declarations Property

Definition

Variable declaration in the statement.

public:
 property System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::Operations::IVariableDeclarationOperation ^> Declarations { System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::Operations::IVariableDeclarationOperation ^> get(); };
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Operations.IVariableDeclarationOperation> Declarations { get; }
member this.Declarations : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Operations.IVariableDeclarationOperation>
Public ReadOnly Property Declarations As ImmutableArray(Of IVariableDeclarationOperation)

Property Value

Remarks

In C#, this will always be a single declaration, with all variables in Declarators.

Applies to