Compilation.GetSpecialType(SpecialType) 方法

定义

从此编译引用的 Cor Library 中获取预定义类型的符号。

public:
 Microsoft::CodeAnalysis::INamedTypeSymbol ^ GetSpecialType(Microsoft::CodeAnalysis::SpecialType specialType);
public Microsoft.CodeAnalysis.INamedTypeSymbol GetSpecialType (Microsoft.CodeAnalysis.SpecialType specialType);
member this.GetSpecialType : Microsoft.CodeAnalysis.SpecialType -> Microsoft.CodeAnalysis.INamedTypeSymbol
Public Function GetSpecialType (specialType As SpecialType) As INamedTypeSymbol

参数

specialType
SpecialType

返回

适用于