Grasshopper API
GH_GooTCastFrom Method |
Attempt a cast from generic data.
Namespace: Grasshopper.Kernel.Types
Assembly: Grasshopper (in Grasshopper.dll)

public virtual bool CastFrom( Object source )
Public Overridable Function CastFrom ( source As Object ) As Boolean
Parameters
- source
- Type: SystemObject
Reference to data that should be cast.
Return Value
Type: BooleanTrue on success, false on failure.
Implements
IGH_GooCastFrom(Object)
If False, the contents of this instance are not to be trusted.
