EventLogPermissionEntryCollection.OnInsert(Int32, Object) 方法

定义

在将一个新的权限项插入此集合之前执行其他自定义进程。Performs additional custom processes before a new permission entry is inserted into the collection.

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

从零开始的索引,在该处插入 valueThe zero-based index at which to insert value.

value
Object

index 处的权限项的新值。The new value of the permission entry at index.

适用于