Share via


SPDiagnosticsItem.ToString method

Formats the item and outputs it as a string value.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function ToString As String
'Usage
Dim instance As SPDiagnosticsItem
Dim returnValue As String

returnValue = instance.ToString()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override string ToString()

Return value

Type: System.String
Returns String.

See also

Reference

SPDiagnosticsItem class

SPDiagnosticsItem members

Microsoft.SharePoint.Administration namespace