ValueSerializer Methods

The ValueSerializer type exposes the following members.

  Name Description
Public method CanConvertFromString When overridden in a derived class, determines whether the specified String can be converted to an instance of the type that the implementation of ValueSerializer supports.
Public method CanConvertToString When overridden in a derived class, determines whether the specified object can be converted into a String.
Public method ConvertFromString When overridden in a derived class, converts a String to an instance of the type that the implementation of ValueSerializer supports.
Public method ConvertToString When overridden in a derived class, converts the specified object to a String.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetConvertFromException Returns an exception to throw when a conversion cannot be performed.
Protected method GetConvertToException Returns an exception to throw when a conversion cannot be performed.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method Static member GetSerializerFor(PropertyDescriptor) Gets the ValueSerializer declared for a property, by passing a CLR property descriptor for the property.
Public method Static member GetSerializerFor(Type) Gets the ValueSerializer declared for the specified type.
Public method Static member GetSerializerFor(PropertyDescriptor, IValueSerializerContext) Gets the ValueSerializer declared for the specified property, using the specified context.
Public method Static member GetSerializerFor(Type, IValueSerializerContext) Gets the ValueSerializer declared for the specified type, using the specified context.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TypeReferences Gets an enumeration of the types referenced by the ValueSerializer.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft