Converts a Color object to and from JSON.
| C# | Visual Basic | Visual C++ |
public class HtmlColorConverter : JsonConverter
Public Class HtmlColorConverter _ Inherits JsonConverter
public ref class HtmlColorConverter : public JsonConverter
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| HtmlColorConverter()()() | Initializes a new instance of the HtmlColorConverter class | |
| CanConvert(Type) |
Determines whether this instance can convert the specified value type.
(Overrides JsonConverter.CanConvert(Type).) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ReadJson(JsonReader, Type) |
Reads the JSON representation of the object.
(Overrides JsonConverter.ReadJson(JsonReader, Type).) | |
| ToString()()() | (Inherited from Object.) | |
| WriteJson(JsonWriter, Object) |
Writes the JSON representation of the object.
(Overrides JsonConverter.WriteJson(JsonWriter, Object).) |
| Object | ||
| JsonConverter | ||
| HtmlColorConverter | ||