FieldDictionary.Set Method (String, Double, RenderContent.ChangeContexts)

FieldDictionarySet Method (String, Double, RenderContentChangeContexts)

Note: This API is now obsolete.

Set the field value and send the appropriate change notification to the render SDK. Will throw a InvalidOperationException exception if the key name is not valid.

Namespace:  Rhino.Render.Fields
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
[ObsoleteAttribute("Use version without ChangeContexts")]
public void Set(
	string key,
	double value,
	RenderContentChangeContexts changeContext
)
<ObsoleteAttribute("Use version without ChangeContexts")>
Public Sub Set ( 
	key As String,
	value As Double,
	changeContext As RenderContentChangeContexts
)

Parameters

key
Type: SystemString
Key name for the field value to change.
value
Type: SystemDouble
New value for this field.
changeContext
Type: Rhino.RenderRenderContentChangeContexts
The reason why the value is changing.
Version Information

Rhino for Windows

Obsolete (compiler warning) in 6.14
See Also