Method GetNamedValue
GetNamedValue(ElementExId, string)
Gets the value of the given parameter. The kind of SmartObject is fixed by the ParameterType. If the parameter is a bound, the returned object is a SmartInteger with the type. Use GetNamedValueBoundValue(ElementExId, string) and GetNamedValueBoundElement(ElementExId, string) to get other items of the bound parameter.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 8, 0, 0)]
SmartObject GetNamedValue(ElementExId inElementId, string inName)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementExId | inElementId | Element owner of the parameter. |
| string | inName | Full or partial name of the parameter to get. |
Returns
| Type | Description |
|---|---|
| SmartObject | A new SmartObject with the current value of the parameter. A SmartInteger with the type for a bound parameter. |