Abstract class to convert a type to and from a String.
Public MustInherit Class ValueSerializer
Dim instance As ValueSerializer
public abstract class ValueSerializer
public ref class ValueSerializer abstract
This class is abstract; see Inheritance Hierarchy for derived non-abstract classes usable in XAML.
The string the converter returns must be loss-less and the converter must always return the same string for a particular value. If a type converter does not meet these requirements, a custom ValueSerializer must be declared that meets the requirements or a null ValueSerializer must be associated with the type.
A null ValueSerializer indicates the type converter should be ignored.
Implementation of ValueSerializer should avoid throwing exceptions. Any exceptions thrown could terminate serialization.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003