共用方式為


NullableContextOptionsExtensions.AnnotationsEnabled 方法

定義

傳回是否啟用可為 Null 的注釋。

public static bool AnnotationsEnabled (this Microsoft.CodeAnalysis.NullableContextOptions context);
static member AnnotationsEnabled : Microsoft.CodeAnalysis.NullableContextOptions -> bool
<Extension()>
Public Function AnnotationsEnabled (context As NullableContextOptions) As Boolean

參數

傳回

適用於