BasicProfileViolationCollection.Insert(Int32, BasicProfileViolation) 方法

定义

将 a BasicProfileViolation 插入到集合中的指定位置。

public:
 void Insert(int index, System::Web::Services::Description::BasicProfileViolation ^ violation);
public void Insert(int index, System.Web.Services.Description.BasicProfileViolation violation);
member this.Insert : int * System.Web.Services.Description.BasicProfileViolation -> unit
Public Sub Insert (index As Integer, violation As BasicProfileViolation)

参数

index
Int32

集合中要插入的从零开始的 violation索引。

violation
BasicProfileViolation

BasicProfileViolation 插入的。

适用于