Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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