NotNullWhenAttribute.ReturnValue 屬性

定義

取得傳回值的條件。

public:
 property bool ReturnValue { bool get(); };
public bool ReturnValue { get; }
member this.ReturnValue : bool
Public ReadOnly Property ReturnValue As Boolean

屬性值

傳回值的條件。 若方法傳回此值,則相關聯的參數將不會是 null

適用於