共用方式為


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

傳回

適用於