System::String::IsNullOrEmpty method

String::IsNullOrEmpty() const method

Checks if string is empty or is considered null.

bool System::String::IsNullOrEmpty() const

ReturnValue

true if string is empty or null, false otherwise.

See Also

String::IsNullOrEmpty(const String&) method

Checks if passed string is null or empty.

static bool System::String::IsNullOrEmpty(const String &str)
ParameterTypeDescription
strconst String&String to check.

ReturnValue

true if string is null or empty, false otherwise.

See Also