System::String::IsNullOrEmpty metod

String::IsNullOrEmpty() const method

Kontrollerar om strängen är tom eller anses vara null.

bool System::String::IsNullOrEmpty() const

ReturnValue

true om strängen är tom eller null, false annars.

Se även

String::IsNullOrEmpty(const String&) method

Kontrollerar om den medföljande strängen är null eller tom.

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

ReturnValue

true om strängen är null eller tom, false annars.

Se även