Assembly: mscorlib (in mscorlib.dll)
Property ValueThe current KeyContainerPermissionAccessEntry object in the collection.
The Current property is accessed before first calling the MoveNext method. The cursor is located before the first object in the collection.
The Current property is accessed after a call to the MoveNext method returns false, which indicates that the cursor is located after the last object in the collection.
When the enumerator is created, it does not point to an object, so the Current property is not valid and will throw an exception if it is accessed. You must first call the MoveNext method to position the cursor at the first object in the collection.
Getting the Current property multiple times with no intervening calls to MoveNext will return the same KeyContainerPermissionAccessEntry object each time.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.