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 を返します。

参照