Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Column Class / ToString Method / ToString(Column,ReferenceStyle) Method
Column to use for computing the relative reference
Reference style
Example


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

    Parameters

    relativeTo
    Column to use for computing the relative reference
    referenceStyle
    Reference style

    Return Value

    String containing the reference to this column
    Exceptions
    ExceptionDescription
    Column is not specified or is not valid; must provide a valid Column object
    Example
    This example uses the Formula property to sum two values and places the result in the appropriate cell.
    See Also