Table of Contents

Method ConvertToString

Namespace
Alternet.UI.Markup
Assembly
Alternet.UI.dll

ConvertToString(object, IValueSerializerContext)

Converts the given value to a string for use in serialization. This method should only be called if CanConvertToString returns true for the given value.

public virtual string ConvertToString(object value, IValueSerializerContext context)

Parameters

value object

The value to convert to a string

context IValueSerializerContext

Context information

Returns

string

A string representation of value