語言

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。

適用於