<PackageReference Include="System.Security.Permissions" Version="5.0.0-preview.4.20251.6" />

EventLogPermissionEntryCollection

Contains a strongly typed collection of EventLogPermissionEntry objects.
public EventLogPermissionEntry this[int index] { get; set; }

Gets or sets the object at a specified index.

public int Add(EventLogPermissionEntry value)

Adds a specified EventLogPermissionEntry to this collection.

Appends a set of specified permission entries to this collection.

public void AddRange(EventLogPermissionEntry[] value)

Appends a set of specified permission entries to this collection.

public bool Contains(EventLogPermissionEntry value)

Determines whether this collection contains a specified EventLogPermissionEntry.

public void CopyTo(EventLogPermissionEntry[] array, int index)

Copies the permission entries from this collection to an array, starting at a particular index of the array.

public int IndexOf(EventLogPermissionEntry value)

Determines the index of a specified permission entry in this collection.

public void Insert(int index, EventLogPermissionEntry value)

Inserts a permission entry into this collection at a specified index.

public void Remove(EventLogPermissionEntry value)

Removes a specified permission entry from this collection.