MethodSignature<TType>.RequiredParameterCount プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
メソッドに必要なパラメーターの数を取得します。
public:
property int RequiredParameterCount { int get(); };
public int RequiredParameterCount { get; }
member this.RequiredParameterCount : int
Public ReadOnly Property RequiredParameterCount As Integer
プロパティ値
必要なパラメーターの数。
注釈
この値は、 ParameterTypes プロパティの長さと同じです。ただし、このメソッド シグネチャが vararg メソッドのスタンドアロン呼び出しサイトを表す場合を除き、 ParameterTypes の追加エントリは省略可能なパラメーターに使用される型です。