طريقة System::String::IsNullOrWhiteSpace

String::IsNullOrWhiteSpace method

يشير إلى ما إذا كانت السلسلة المحددة null أو فارغة أو تتكون فقط من مسافات بيضاء.

static bool System::String::IsNullOrWhiteSpace(const String &str)
ParameterTypeالوصف
strconst String&String للتحقق.

ReturnValue

صحيح إذا كانت السلسلة فارغة أو خالية أو تتكون حصريًا من أحرف المسافات، وإلا خطأ.

انظر أيضًا