共用方式為


BasicProfileViolationCollection.Insert(Int32, BasicProfileViolation) 方法

定義

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

適用於