System::Collections::Specialized::StringCollection::IndexOf طريقة

StringCollection::IndexOf method

يبحث عن سلسلة محددة في الحاوية.

int System::Collections::Specialized::StringCollection::IndexOf(const System::String &value) const
معاملنوعالوصف
valueconst System::String&String للبحث عنها.

ReturnValue

مؤشر أول ظهور للسلسلة المحددة أو -1 إذا لم يتم العثور عليها.

انظر أيضًا