Click or drag to resize

GH_GeometricGooTCastToQ Method (Q)

Attempt a cast to type T.

Namespace:  Grasshopper.Kernel.Types
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public override bool CastTo<Q>(
	out Q target
)

Parameters

target
Type: Q
Pointer to target of cast.

Type Parameters

Q
Type to cast to

Return Value

Type: Boolean
True on success, false on failure.
Remarks
If false, the target instance contents are not guaranteed to be valid.
See Also