次の方法で共有


EventLogPermissionEntryCollection.OnInsert メソッド

このメソッドは、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

コレクションに新しいアクセス許可エントリが挿入される前に、追加のカスタム プロセスを実行します。

名前空間: System.Diagnostics
アセンブリ: System (system.dll 内)

構文

'宣言
Protected Overrides Sub OnInsert ( _
    index As Integer, _
    value As Object _
)
'使用
Dim index As Integer
Dim value As Object

Me.OnInsert(index, value)
protected override void OnInsert (
    int index,
    Object value
)
protected:
virtual void OnInsert (
    int index, 
    Object^ value
) override
protected void OnInsert (
    int index, 
    Object value
)
protected override function OnInsert (
    index : int, 
    value : Object
)

パラメータ

  • index
    value を挿入する位置の、0 から始まるインデックス番号。
  • value
    index にあるアクセス許可エントリの新しい値。

プラットフォーム

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 2.0、1.1、1.0

参照

関連項目

EventLogPermissionEntryCollection クラス
EventLogPermissionEntryCollection メンバ
System.Diagnostics 名前空間