MaybeNullWhenAttribute.ReturnValue 属性

定义

获取返回值条件。Gets the return value condition.

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

属性值

Boolean

返回值条件。The return value condition. 如果方法返回此值,则关联的参数可能为 nullIf the method returns this value, the associated parameter may be null.

适用于