Click or drag to resize

GH_IReaderGetSingle Method (String)

Gets the value of the item with the specified name. Name comparison is not case-sensitive.

Namespace:  GH_IO.Serialization
Assembly:  GH_IO (in GH_IO.dll)
Syntax
float GetSingle(
	string item_name
)

Parameters

item_name
Type: SystemString
Name of item to retrieve.

Return Value

Type: Single
The inner value of the item.
Exceptions
ExceptionCondition
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.
See Also