Partager via


PexAssume.IsNotNullOrEmpty(String) Method

Definition

The test fails if a specified string is null or empty.

public:
 static void IsNotNullOrEmpty(System::String ^ value);
public static void IsNotNullOrEmpty (string value);
static member IsNotNullOrEmpty : string -> unit
Public Shared Sub IsNotNullOrEmpty (value As String)

Parameters

value
String

The string.

Exceptions

If the the string is null or of zero length.

Applies to