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

StringCollection::IndexOf method

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

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

ReturnValue

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

انظر أيضًا