言語

ParameterInfos.IndexOf(String) メソッド

定義

パラメータコレクション内の指定された名前のパラメータのインデックスを取得します。

public:
 int IndexOf(System::String ^ parameterName);
public int IndexOf(string parameterName);
member this.IndexOf : string -> int
Public Function IndexOf (parameterName As String) As Integer

パラメーター

parameterName
String

パラメーターの名前。

返品

パラメータコレクションに指定された名前のパラメータのインデックス;そうでなければ、-1です。

適用対象