SearchAdminDashboardWebpart.FormatTimeSpan Method
Returns a string representing a time interval.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Protected Shared Function FormatTimeSpan ( _
ts As TimeSpan _
) As String
'Usage
Dim ts As TimeSpan
Dim returnValue As String
returnValue = SearchAdminDashboardWebpart.FormatTimeSpan(ts)
protected static string FormatTimeSpan(
TimeSpan ts
)
Parameters
- ts
Type: System.TimeSpan
A TimeSpan object representing a time interval.
Return Value
Type: System.String
See Also
Reference
SearchAdminDashboardWebpart Class