Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Cell Class / ToString Method / ToString(Cell,ReferenceStyle) Method
Cell to use for computing the relative reference
Style of cell reference


In This Topic
    ToString(Cell,ReferenceStyle) Method
    In This Topic
    Gets a string that contains a relative reference to this cell in the specified reference style.
    Syntax
    'Declaration
     
    
    Public Overloads Function ToString( _
       ByVal relativeTo As Cell, _
       ByVal referenceStyle As ReferenceStyle _
    ) As String
    'Usage
     
    
    Dim instance As Cell
    Dim relativeTo As Cell
    Dim referenceStyle As ReferenceStyle
    Dim value As String
     
    value = instance.ToString(relativeTo, referenceStyle)

    Parameters

    relativeTo
    Cell to use for computing the relative reference
    referenceStyle
    Style of cell reference
    Exceptions
    ExceptionDescription
    No cell specified or specified cell (for relative reference) is not valid
    See Also