ServiceEndpointCollection.InsertItem(Int32, ServiceEndpoint) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したインデックス位置にあるコレクションに項目を挿入します。
protected:
override void InsertItem(int index, System::ServiceModel::Description::ServiceEndpoint ^ item);
protected override void InsertItem(int index, System.ServiceModel.Description.ServiceEndpoint item);
override this.InsertItem : int * System.ServiceModel.Description.ServiceEndpoint -> unit
Protected Overrides Sub InsertItem (index As Integer, item As ServiceEndpoint)
パラメーター
- index
- Int32
項目を挿入する位置を示す 0 から始まるインデックス。
- item
- ServiceEndpoint
指定したServiceEndpointに挿入するindex項目。
例外
item は nullです。
注釈
このメソッドは、基底クラスで定義されている仮想 InsertItem(Int32, T) メソッドをオーバーライドし、 null 値がコレクションに挿入されないように入力検証を行うために提供されます。 ユーザーが呼び出すものではありません。