ASP.NET Core MVC Controls | ComponentOne
C1.JsonNet Namespace / JsonConverter Class / ConvertTo Method
the specified value






In This Topic
    ConvertTo Method
    In This Topic
    Serialize the specified value to a string.
    Syntax
    'Declaration
     
    
    Protected Overridable Function ConvertTo( _
       ByVal value As System.Object _
    ) As System.String
    'Usage
     
    
    Dim instance As JsonConverter
    Dim value As System.Object
    Dim value As System.String
     
    value = instance.ConvertTo(value)
    protected virtual System.string ConvertTo( 
       System.object value
    )
    protected function ConvertTo( 
        value: System.TObject
    ): System.String; virtual; 
    protected function ConvertTo( 
       value : System.Object
    ) : System.String;
    protected: virtual System.string* ConvertTo( 
       System.Object* value
    ) 
    protected:
    virtual System.String^ ConvertTo( 
       System.Object^ value
    ) 

    Parameters

    value
    the specified value

    Return Value

    A string which the value would be serialized to.
    See Also