'Declaration
<JetBrains.Annotations.MustUseReturnValueAttribute()> <JetBrains.Annotations.NotNullAttribute()> <JetBrains.Annotations.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)
[JetBrains.Annotations.MustUseReturnValue()] [JetBrains.Annotations.NotNull()] [JetBrains.Annotations.Pure()] protected string Format( DateTime dateTime, bool forTooltip )
[JetBrains.Annotations.MustUseReturnValue()] [JetBrains.Annotations.NotNull()] [JetBrains.Annotations.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
This method never returns null
(Nothing
in Visual Basic).
This return value of this method should not be ignored.