DateOptions.GetShortDateString Method
Returns a string representation of the specified date and uses the short date format.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.Struct)> _
Public Function GetShortDateString ( _
simpleDate As SimpleDate _
) As String
'Usage
Dim instance As DateOptions
Dim simpleDate As SimpleDate
Dim returnValue As String
returnValue = instance.GetShortDateString(simpleDate)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.Struct)]
public string GetShortDateString(
SimpleDate simpleDate
)
Parameters
simpleDate
Type: Microsoft.SharePoint.Utilities.SimpleDateThe SimpleDate value to evaluate.
Return Value
Type: System.String
A string that contains the date in short-date format.