Try Playground
Show / Hide Table of Contents

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.

In This Article
  • Add(String, IJSONDocument)
  • Add(String, DateTime)
  • Add(String, Array)
  • Add(String, Boolean)
  • Add(String, Double)
  • Add(String, Int16)
  • Add(String, Int32)
  • Add(String, Int64)
  • Add(String, Single)
  • Add(String, String)
  • Add(String, Object)

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
� Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top