Table of Contents

Method ConvertFromString

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

ConvertFromString(string, IValueSerializerContext)

Convert a string to an object. This method should only be called if CanConvertFromString returns true for the given string.

public virtual object ConvertFromString(string value, IValueSerializerContext context)

Parameters

value string

The string value to convert

context IValueSerializerContext

Context information

Returns

object

An object corresponding to the string value