System::String::IsNullOrWhiteSpace metod

String::IsNullOrWhiteSpace method

Anger om en specificerad sträng är null, tom eller endast består av blankstegstecken.

static bool System::String::IsNullOrWhiteSpace(const String &str)
ParameterTypBeskrivning
strconst String&String för att kontrollera.

ReturnValue

true om strängen är null eller tom eller endast består av blankstegstecken, annars false.

Se även