SPAuditEntryCollection.Item property
Gets the SPAuditEntry object at the specified index in the collection. In C#, this property is the indexer for the SPAuditEntryCollection class.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As SPAuditEntry
Get
'Usage
Dim instance As SPAuditEntryCollection
Dim index As Integer
Dim value As SPAuditEntry
value = instance(index)
public SPAuditEntry this[
int index
] { get; }
Parameters
index
Type: System.Int32An Int32 that specifies the index.
Property value
Type: Microsoft.SharePoint.SPAuditEntry
The SPAuditEntry object at the specified index in the collection.
Remarks
The Item property throws an ArgumentOutOfRangeException if the specified index is outside the valid range of indexes for the collection.