System::String::IsNullOrEmpty μέθοδος

String::IsNullOrEmpty() const method

Ελέγχει εάν η συμβολοσειρά είναι κενή ή θεωρείται μηδενική.

bool System::String::IsNullOrEmpty() const

ReturnValue

true εάν η συμβολοσειρά είναι κενή ή μηδενική, false διαφορετικά.

Δείτε επίσης

String::IsNullOrEmpty(const String&) method

Ελέγχει εάν η δοθείσα συμβολοσειρά είναι μηδενική ή κενή.

static bool System::String::IsNullOrEmpty(const String &str)
ParameterTypeΠεριγραφή
strconst String&String για έλεγχο.

ReturnValue

true εάν η συμβολοσειρά είναι μηδενική ή κενή, false διαφορετικά.

Δείτε επίσης