NotNullWhenAttribute(Boolean) Konstruktor

Definicja

Inicjuje atrybut z określonym warunkiem wartości zwracanej.

public:
 NotNullWhenAttribute(bool returnValue);
public NotNullWhenAttribute (bool returnValue);
new System.Diagnostics.CodeAnalysis.NotNullWhenAttribute : bool -> System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
Public Sub New (returnValue As Boolean)

Parametry

returnValue
Boolean

Warunek wartości zwracanej. Jeśli metoda zwróci tę wartość, skojarzony parametr nie będzie .null

Dotyczy