23 base.List[index] = value;
30 for (
int i = 0; i < entries.Length; i++)
41 return base.List.Add(value);
54 for (
int i = 0; i < value.Length; i++)
70 int count = value.Count;
71 for (
int i = 0; i < count; i++)
83 return base.List.Contains(value);
91 base.List.CopyTo(array, index);
99 return base.List.IndexOf(value);
107 base.List.Insert(index, value);
114 base.List.Remove(value);
126 protected override void OnInsert(
int index,
object value)
134 protected override void OnRemove(
int index,
object value)
143 protected override void OnSet(
int index,
object oldValue,
object newValue)
void Remove(EventLogPermissionEntry value)
Removes a specified permission entry from this collection.
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
bool Contains(EventLogPermissionEntry value)
Determines whether this collection contains a specified T:System.Diagnostics.EventLogPermissionEntry.
Provides the abstract base class for a strongly typed collection.
int IndexOf(EventLogPermissionEntry value)
Determines the index of a specified permission entry in this collection.
void AddRange(EventLogPermissionEntryCollection value)
Appends a set of specified permission entries to this collection.
void Insert(int index, EventLogPermissionEntry value)
Inserts a permission entry into this collection at a specified index.
override void OnRemove(int index, object value)
Performs additional custom processes when removing a new permission entry from the collection.
int Add(EventLogPermissionEntry value)
Adds a specified T:System.Diagnostics.EventLogPermissionEntry to this collection.
override void OnClear()
Performs additional custom processes after clearing the contents of the collection.
override void OnInsert(int index, object value)
Performs additional custom processes before a new permission entry is inserted into the collection.
Controls code access permissions for event logging.
Defines the smallest unit of a code access security permission set.
Specifies that the class can be serialized.
Defines the smallest unit of a code access security permission that is set for an T:System....
Contains a strongly typed collection of T:System.Diagnostics.EventLogPermissionEntry objects.
void AddRange(EventLogPermissionEntry[] value)
Appends a set of specified permission entries to this collection.
override void OnSet(int index, object oldValue, object newValue)
Performs additional custom processes before setting a value in the collection.
void CopyTo(EventLogPermissionEntry[] array, int index)
Copies the permission entries from this collection to an array, starting at a particular index of the...