Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / DateTimeCellType Class / Format Method / Format(Object) Method
Object in the data model from which to get formatting information


In This Topic
    Format(Object) Method
    In This Topic
    When deriving a cell type based on this type, override this to change what gets passed back and formatted as a string into the cell on the sheet from the object in the data model.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function Format( _
       ByVal obj As Object _
    ) As String
    'Usage
     
    
    Dim instance As DateTimeCellType
    Dim obj As Object
    Dim value As String
     
    value = instance.Format(obj)
    public override string Format( 
       object obj
    )

    Parameters

    obj
    Object in the data model from which to get formatting information
    Exceptions
    ExceptionDescription
    Value cannot be converted to a DateTime object.
    See Also