[]
Generates the JSON string from the defined name.
string ToJson()
Function ToJson() As String
| Type | Description |
|---|---|
| string | The JSON string. |
worksheet.Range["A1:A3"].Value = new object[,] { { 100 }, { 200 }, { 300 } };
IName definedName = worksheet.Names.Add("SalesTotal", "=A1:A3");
string json = definedName.ToJson();