System.Security.Permissions.KeyContainerPermissionAccessEntryEnumerator.Current Property

Gets the current entry in the collection.

Syntax

public KeyContainerPermissionAccessEntry Current { get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the enumerator is created, it does not point to an object, so the KeyContainerPermissionAccessEntryEnumerator.Current property is not valid and will throw an exception if it is accessed. You must first call the KeyContainerPermissionAccessEntryEnumerator.MoveNext method to position the cursor at the first object in the collection.

Getting the KeyContainerPermissionAccessEntryEnumerator.Current property multiple times with no intervening calls to KeyContainerPermissionAccessEntryEnumerator.MoveNext will return the same System.Security.Permissions.KeyContainerPermissionAccessEntry object each time.

Requirements

Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0