KeyContainerPermissionAccessEntryCollection.Item[Int32] 属性

定义

获取集合中指定索引处的项。Gets the item at the specified index in the collection.

public:
 property System::Security::Permissions::KeyContainerPermissionAccessEntry ^ default[int] { System::Security::Permissions::KeyContainerPermissionAccessEntry ^ get(int index); };
public System.Security.Permissions.KeyContainerPermissionAccessEntry this[int index] { get; }
member this.Item(int) : System.Security.Permissions.KeyContainerPermissionAccessEntry
Default Public ReadOnly Property Item(index As Integer) As KeyContainerPermissionAccessEntry

参数

index
Int32

要访问的元素从零开始的索引。The zero-based index of the element to access.

属性值

KeyContainerPermissionAccessEntry

集合中指定索引处的 KeyContainerPermissionAccessEntry 对象。The KeyContainerPermissionAccessEntry object at the specified index in the collection.

例外

index 大于或等于集合计数。index is greater than or equal to the collection count.

index 为负数。index is negative.

注解

使用数组表示法,使用此索引器获取 KeyContainerPermissionAccessEntry KeyContainerPermissionAccessEntryCollection 指定索引处的对象。Use this indexer to get a KeyContainerPermissionAccessEntry object from the KeyContainerPermissionAccessEntryCollection at the specified index, using array notation.

适用于

另请参阅