Grasshopper API
GH_ConvertToGHString_Secondary Method |
Converts similar data into a GH_String instance.
Data is not quaranteed to be duplicated.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static bool ToGHString_Secondary( Object data, ref GH_String target )
Public Shared Function ToGHString_Secondary ( data As Object, ByRef target As GH_String ) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert - target
- Type: Grasshopper.Kernel.TypesGH_String
Target instance. If null, a new GH_String will be constructed. If not null, the instance values will be set.
Return Value
Type: BooleanTrue on success, False on failure.
