KeyContainerPermissionAccessEntryCollection.Item Property (Int32)

 

Gets the item at the specified index in the collection.

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

public KeyContainerPermissionAccessEntry this[
	int index
] { get; }

Parameters

index
Type: System.Int32

The zero-based index of the element to access.

Property Value

Type: System.Security.Permissions.KeyContainerPermissionAccessEntry

The KeyContainerPermissionAccessEntry object at the specified index in the collection.

Exception Condition
ArgumentOutOfRangeException

index is greater than or equal to the collection count.

InvalidOperationException

index is negative.

Use this indexer to get a KeyContainerPermissionAccessEntry object from the KeyContainerPermissionAccessEntryCollection at the specified index, using array notation.

.NET Framework
Available since 2.0
Return to top
Show: