ServiceControllerPermissionEntryCollection.OnInsert(Int32, Object) 方法

定義

執行其他自訂處理序後,再將新的使用權限項目加入集合中。

protected:
 override void OnInsert(int index, System::Object ^ value);
protected override void OnInsert (int index, object value);
override this.OnInsert : int * obj -> unit
Protected Overrides Sub OnInsert (index As Integer, value As Object)

參數

index
Int32

插入 value 處之以零起始的索引。

value
Object

index 中權限項目的新值。

適用於