'Declaration
<NotNullAttribute()> <PureAttribute()> Protected Function Format( _ ByVal dateTime As Date, _ ByVal forTooltip As Boolean _ ) As String
'Usage
Dim instance As UADataSetHeaderControl Dim dateTime As Date Dim forTooltip As Boolean Dim value As String value = instance.Format(dateTime, forTooltip)
[NotNull()] [Pure()] protected string Format( DateTime dateTime, bool forTooltip )
[NotNull()] [Pure()] protected: String^ Format( DateTime dateTime, bool forTooltip )
Parameters
- dateTime
- The date/time to be formatted.
- forTooltip
- Determines whether the formatted string is intended for display in a tooltip.
Return Value
Returns the dateTime formatted for display in the control.
This method never returns null
(Nothing
in Visual Basic).