ForEachStatementInfo.ElementType Property

Definition

The intermediate type to which the output of the CurrentProperty is converted before being converted to the iteration variable type.

public:
 property Microsoft::CodeAnalysis::ITypeSymbol ^ ElementType { Microsoft::CodeAnalysis::ITypeSymbol ^ get(); };
public Microsoft.CodeAnalysis.ITypeSymbol ElementType { get; }
member this.ElementType : Microsoft.CodeAnalysis.ITypeSymbol
Public ReadOnly Property ElementType As ITypeSymbol

Property Value

Remarks

As you might hope, for an array, it is the element type of the array.

Applies to