Click or drag to resize

GH_DocumentObjectGetValue Method (String, String)

Get a string value from the component value table.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
protected string GetValue(
	string valueName,
	string default
)

Parameters

valueName
Type: SystemString
Name of string to retrieve.
default
Type: SystemString
Default value to return in case of missing named value.

Return Value

Type: String
The string value with the given name of the default value.
See Also