CodeCarvings.Piczard
SetNumberValue Method
See Also  Send Feedback
CodeCarvings.Piczard.Serialization Namespace > JSONObject Class : SetNumberValue Method

key
The key of the JSONNumber element to set.
value
The value of the JSONNumber.
Initializes a new instance of the JSONNumber class with the provided value and then sets the new element with the specified key.

Syntax

Visual Basic (Declaration)  
Public Function SetNumberValue( _
   ByVal key As String, _
   ByVal value As Nullable(Of Decimal) _
) As JSONNumber
C#  
public JSONNumber SetNumberValue( 
   string key,
   Nullable<decimal> value
)

Parameters

key
The key of the JSONNumber element to set.
value
The value of the JSONNumber.

Return Value

The JSONNumber element that was set.

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.