SPDiagnosticsItem.ToString method
將項目,並將其輸出做為字串值。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function ToString As String
'用途
Dim instance As SPDiagnosticsItem
Dim returnValue As String
returnValue = instance.ToString()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override string ToString()
傳回值
Type: System.String
傳回 String。