OperationDescriptionCollection.InsertItem(Int32, OperationDescription) 方法

定义

将元素插入操作说明集合中的指定索引处。Inserts an element into the operation description collection at the specified index.

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

参数

index
Int32

应插入 item 的从零开始的索引。The zero-based index at which item should be inserted.

例外

itemnullitem is null.

注解

提供此方法是为了使 Windows Communication Foundation (WCF)系统执行输入验证,不应由用户调用。This method is provided for the Windows Communication Foundation (WCF) system to do input validation and is not expected to be called by users.

适用于