• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Method AddAttribute

AddAttribute(String, JsonValue)

Adds an attribute in the object

Declaration
public void AddAttribute(string attributeName, JsonValue attributeValue)
Parameters
Type Name Description
System.String attributeName

Name of the attribute

JsonValue attributeValue

JSONValue as the attribute value

Implements
IJsonObject.AddAttribute(String, JsonValue)

AddAttribute(String, JsonValueBase)

Adds an attribute in the object

Declaration
public void AddAttribute(string attributeName, JsonValueBase attributeValue)
Parameters
Type Name Description
System.String attributeName

Name of the attribute

JsonValueBase attributeValue

JsonValueBase as the attribute value

Implements
IJsonObject.AddAttribute(String, JsonValueBase)
Back to top Copyright © 2017 Alachisoft