共用方式為


INamedTypeSymbol.EnumUnderlyingType 屬性

定義

針對列舉類型,取得基礎類型。 傳回所有其他類型類型的 Null。

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

屬性值

適用於