Click or drag to resize

GH_ChunkGetPath Method (String, Int32, String)

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
public string[] GetPath(
	string item_name,
	int item_index,
	string basePath
)

Parameters

item_name
Type: SystemString
Name of item to retrieve.
item_index
Type: SystemInt32
Index of item to retrieve.
basePath
Type: SystemString
Base path for relative path resolution.

Return Value

Type: String
An array of path strings. If the resolved relative path is different from the stored absolute path, an array of two strings will be returned [absolute, relative].

Implements

GH_IReaderGetPath(String, Int32, String)
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