CodeCarvings.Piczard
FromColor(Generic Nullable,JSONSerializationOptions) Method
See Also  Send Feedback
CodeCarvings.Piczard.Serialization Namespace > JSONConverter Class > FromColor Method : FromColor(Generic Nullable,JSONSerializationOptions) Method

value
The Color object to serialize.
options
An instance of the JSONSerializationOptions class containing data for the JSON serialization process.
Serializes the specified Color object into a JSONObject using the provided JSONSerializationOptions.

Syntax

Visual Basic (Declaration)  
Public Overloads Shared Function FromColor( _
   ByVal value As Nullable(Of Color), _
   ByVal options As JSONSerializationOptions _
) As JSONObject
C#  
public static JSONObject FromColor( 
   Nullable<Color> value,
   JSONSerializationOptions options
)

Parameters

value
The Color object to serialize.
options
An instance of the JSONSerializationOptions class containing data for the JSON serialization process.

Return Value

An instance of the JSONObject class containing the representation of the original Color object.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.