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

String::IsNullOrWhiteSpace method

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

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

ReturnValue

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

انظر أيضًا