共用方式為


TypedConstant.Type Property

Definition

Returns the ITypeSymbol of the constant, or null if the type can't be determined (error).

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