Click or drag to resize

FieldDictionaryTryGetValue Method (String, Color4f)

Find a field with the specified key and get its value if found.

Namespace:  Rhino.Render.Fields
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool TryGetValue(
	string key,
	out Color4f value


Type: SystemString
Key name of the field to get a value for.
Type: Rhino.DisplayColor4f
Output parameter which will receive the field value.

Return Value

Type: Boolean
Returns true if the key is found and the value parameter is set to the field value. Returns false if the field was not found.
Version Information

Rhino for Windows

Supported in: 6.8
See Also