Attempt a cast from generic data.
Namespace:
Grasshopper.Kernel.Types
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax 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)Remarks If False, the contents of this instance are not to be trusted.
See Also