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

属性值

适用于