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
- name
Type: System.String
Property value
Type: T
the object with the specified Name, or NULL if the item doesn't exist
See also
Reference
SPDiagnosticsCollection<T> class