次の方法で共有


Utility.FormatDateTime method

Namespace:  Microsoft.SharePoint.Client.Utilities
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Shared Function FormatDateTime ( _
    context As ClientRuntimeContext, _
    web As Web, _
    datetime As DateTime, _
    format As DateTimeFormat _
) As ClientResult(Of String)
'Usage
Dim context As ClientRuntimeContext
Dim web As Web
Dim datetime As DateTime
Dim format As DateTimeFormat
Dim returnValue As ClientResult(Of String)

returnValue = Utility.FormatDateTime(context, _
    web, datetime, format)
public static ClientResult<string> FormatDateTime(
    ClientRuntimeContext context,
    Web web,
    DateTime datetime,
    DateTimeFormat format
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<String>
ReturnsClientResult<T>

See also

Reference

Utility class

Utility members

Microsoft.SharePoint.Client.Utilities namespace