<PackageReference Include="System.Security.Permissions" Version="9.0.5" />

DirectoryServicesPermissionEntryCollection

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

Gets or sets a DirectoryServicesPermissionEntry object in this collection.

Appends the specified DirectoryServicesPermissionEntry object to this collection.

Appends the contents of the specified DirectoryServicesPermissionEntryCollection object to this collection.

Appends the contents of the specified DirectoryServicesPermissionEntry array to this collection.

Determines if the specified DirectoryServicesPermissionEntry object is in this collection.

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

Copies all DirectoryServicesPermissionEntry objects in this collection to the specified array, starting at the specified index in the target array.

Returns the index of the first occurrence of the specified DirectoryServicesPermissionEntry object in this collection.

public void Insert(int index, DirectoryServicesPermissionEntry value)

Inserts the specified DirectoryServicesPermissionEntry into this collection at the specified index.

Removes the first occurrence of an object in this collection that is identical to the specified DirectoryServicesPermissionEntry object.