共用方式為


SPDiagnosticsItem.ToString Method

Formats the item and outputs it as a string value.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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