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