BindingElementCollection.InsertItem(Int32, BindingElement) 方法

定义

将一个绑定元素插入绑定元素集合的指定位置。Inserts a binding element at a specified location within a collection of binding elements.

protected:
 override void InsertItem(int index, System::ServiceModel::Channels::BindingElement ^ item);
protected override void InsertItem (int index, System.ServiceModel.Channels.BindingElement item);
override this.InsertItem : int * System.ServiceModel.Channels.BindingElement -> unit
Protected Overrides Sub InsertItem (index As Integer, item As BindingElement)

参数

index
Int32

在集合中插入绑定元素的位置。The location at which to insert the binding element in the collection.

item
BindingElement

要插入的 BindingElementThe BindingElement to be inserted.

例外

itemnullitem is null.

适用于