Method Add
Add(String, IJSONDocument)
Adds an IJSONDocument object as a IJSONDocument attribute value.
Declaration
void Add(string attribute, IJSONDocument value)
Parameters
Type | Name | Description |
---|---|---|
System.String | attribute | Name of the attribute. |
IJSONDocument | value | JSON value. |
Add(String, DateTime)
Adds System.DateTime object as IJSONDocument attribute value.
Declaration
void Add(string attribute, DateTime value)
Parameters
Type | Name | Description |
---|---|---|
System.String | attribute | Name of the attribute. |
System.DateTime | value | JSON value. |
Add(String, Array)
Adds System.Array object as IJSONDocument attribute value.
Declaration
void Add(string attribute, Array value)
Parameters
Type | Name | Description |
---|---|---|
System.String | attribute | Name of the attribute. |
System.Array | value | JSON value. |
Add(String, Boolean)
Adds boolean value as IJSONDocument attribute value.
Declaration
void Add(string attribute, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.String | attribute | Name of the attribute. |
System.Boolean | value | JSON value. |
Add(String, Double)
Adds double value as IJSONDocument attribute value.
Declaration
void Add(string attribute, double value)
Parameters
Type | Name | Description |
---|---|---|
System.String | attribute | Name of the attribute. |
System.Double | value | JSON value. |
Add(String, Int16)
Adds short value as IJSONDocument attribute value.
Declaration
void Add(string attribute, short value)
Parameters
Type | Name | Description |
---|---|---|
System.String | attribute | Name of the attribute. |
System.Int16 | value | JSON value. |
Add(String, Int32)
Adds integer value as IJSONDocument attribute value.
Declaration
void Add(string attribute, int value)
Parameters
Type | Name | Description |
---|---|---|
System.String | attribute | Name of the attribute. |
System.Int32 | value | JSON value. |
Add(String, Int64)
Adds long value as IJSONDocument attribute value.
Declaration
void Add(string attribute, long value)
Parameters
Type | Name | Description |
---|---|---|
System.String | attribute | Name of the attribute. |
System.Int64 | value | JSON value. |
Add(String, Single)
Adds float value as IJSONDocument attribute value.
Declaration
void Add(string attribute, float value)
Parameters
Type | Name | Description |
---|---|---|
System.String | attribute | Name of the attribute. |
System.Single | value | JSON value. |
Add(String, String)
Adds System.String object as IJSONDocument attribute value.
Declaration
void Add(string attribute, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | attribute | Name of the attribute. |
System.String | value | JSON value. |
Add(String, Object)
Adds System.Object as IJSONDocument attribute value.
Declaration
void Add(string attribute, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | attribute | Name of the attribute. |
System.Object | value | JSON value. |