Share via


PexAssume.IsNullOrEmpty(String) Method

Definition

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

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

Parameters

value
String

The string.

Exceptions

If the the string is not null or of zero length.

Applies to