Sdílet prostřednictvím


CodeContract.RequiresArgumentNotNullAndNotWhiteSpace(String, String) Metoda

Definice

Vyžaduje, aby argument nebyl null a ne prázdné znaky.

public:
[System::Runtime::CompilerServices::Extension]
 static void RequiresArgumentNotNullAndNotWhiteSpace(System::String ^ value, System::String ^ argumentName);
public static void RequiresArgumentNotNullAndNotWhiteSpace (this string value, string argumentName);
static member RequiresArgumentNotNullAndNotWhiteSpace : string * string -> unit
<Extension()>
Public Sub RequiresArgumentNotNullAndNotWhiteSpace (value As String, argumentName As String)

Parametry

value
String

hodnota

argumentName
String

Řetězcové vyjádření argumentu

Platí pro