ForEachStatementInfo.ElementType Property
Definition
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.
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; }
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
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.