Click or drag to resize

FieldDictionaryAdd Method (String, Vector2d)

Add a new Vector2dField to the dictionary. This will be a data only field and not show up in the content browsers.

Namespace:  Rhino.Render.Fields
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.1
Syntax
public Vector2dField Add(
	string key,
	Vector2d value
)

Parameters

key
Type: SystemString
Key name for the field value to add. See important note above.
value
Type: Rhino.GeometryVector2d
Initial value for this field.

Return Value

Type: Vector2dField

[Missing <returns> documentation for "M:Rhino.Render.Fields.FieldDictionary.Add(System.String,Rhino.Geometry.Vector2d)"]

Exceptions
ExceptionCondition
ArgumentException An element with the same key already exists in the dictionary
See Also