FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > DateTimeCellType Class > Format Method : Format(Object,String,IFormatProvider) Method |
'Declaration Public Overloads Overrides Function Format( _ ByVal obj As Object, _ ByVal FormatString As String, _ ByVal provider As IFormatProvider _ ) As String
'Usage Dim instance As DateTimeCellType Dim obj As Object Dim FormatString As String Dim provider As IFormatProvider Dim value As String value = instance.Format(obj, FormatString, provider)
public override string Format( object obj, string FormatString, IFormatProvider provider )
Exception | Description |
---|---|
System.ArgumentException | Value cannot be converted to a DateTime object. |
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6