SPDiagnosticsCollection<T>.Item property (UInt32)

Returns the specified SPDiagnosticsItem with a matching Id property

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property Item ( _
    key As UInteger _
) As T
    Get
'Usage
Dim instance As SPDiagnosticsCollection
Dim key As UInteger
Dim value As T

value = instance.Item(key)
public T this[
    uint key
] { get; }

Parameters

Property value

Type: T
the object with the specified Id, or NULL if the item doesn't exist

See also

Reference

SPDiagnosticsCollection<T> class

SPDiagnosticsCollection<T> members

Item overload

Microsoft.SharePoint.Administration namespace