共用方式為


TypeInfo.Type Property

Definition

The type of the expression represented by the syntax node. For expressions that do not have a type, null is returned. If the type could not be determined due to an error, then an IErrorTypeSymbol is returned.

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

Property Value

Applies to