MethodSignature<TType>.RequiredParameterCount プロパティ

定義

メソッドに必要なパラメーターの数を取得します。

public:
 property int RequiredParameterCount { int get(); };
public int RequiredParameterCount { get; }
member this.RequiredParameterCount : int
Public ReadOnly Property RequiredParameterCount As Integer

プロパティ値

必要なパラメーターの数。

注釈

この値は、 ParameterTypes プロパティの長さと同じです。ただし、このメソッド シグネチャが vararg メソッドのスタンドアロン呼び出しサイトを表す場合を除き、 ParameterTypes の追加エントリは省略可能なパラメーターに使用される型です。

適用対象