BindingElementCollection.SetItem(Int32, BindingElement) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在綁定元素集合中,替換指定索引的綁定元素。
protected:
override void SetItem(int index, System::ServiceModel::Channels::BindingElement ^ item);
protected override void SetItem(int index, System.ServiceModel.Channels.BindingElement item);
override this.SetItem : int * System.ServiceModel.Channels.BindingElement -> unit
Protected Overrides Sub SetItem (index As Integer, item As BindingElement)
參數
- index
- Int32
要替換的元素的零基指數。
- item
- BindingElement
項目在指定BindingElement值 的值 index 。
例外狀況
item 是 null。