[]
Loads a defined name definition from the JSON string into this object.
Use this method to apply a defined name definition from a JSON string, such as one generated by ToJson().
void FromJson(string json)
Sub FromJson(json As String)
| Type | Name | Description |
|---|---|---|
| string | json | The JSON string that contains a defined name. |
IName name = workbook.Names.Add("SalesTotal", "=SUM(A1:A3)");
name.Comment = "Quarter total";
string json = name.ToJson();
name.FromJson(json);