Grasshopper API
GH_ConvertToString_Primary Method |
Performs a direct cast from String and GH_String.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static bool ToString_Primary( Object data, ref string destination )
Public Shared Function ToString_Primary ( data As Object, ByRef destination As String ) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert. - destination
- Type: SystemString
Target for value assignment.
Return Value
Type: BooleanTrue on success, false on failure.
