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 处的权限项的新值。

适用于