SPDiagnosticsCollection<T>.Item property (String)

Returns the specified SPDiagnosticsItem with a matching Name property

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

Syntax

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

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

Parameters

Property value

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

See also

Reference

SPDiagnosticsCollection<T> class

SPDiagnosticsCollection<T> members

Item overload

Microsoft.SharePoint.Administration namespace