GH_IReader.GetInt32 Method (String, Int32)

GH_IReaderGetInt32 Method (String, Int32)

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

Namespace:  GH_IO.Serialization
Assembly:  GH_IO (in GH_IO.dll)
Syntax
int GetInt32(
	string item_name,
	int item_index
)
Function GetInt32 ( 
	item_name As String,
	item_index As Integer
) As Integer

Parameters

item_name
Type: SystemString
Name of item to retrieve.
item_index
Type: SystemInt32
Index of item to retrieve.

Return Value

Type: Int32
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 and index does not exist.
See Also