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
)
Public Overrides Function CastTo(Of Q) (
<OutAttribute> ByRef target As Q
) As Boolean
Parameters
- target
- Type: Q
Pointer to target of cast.
Type Parameters
- Q
- Type to cast to
Return Value
Type:
BooleanTrue on success, false on failure.
Remarks If false, the target instance contents are not guaranteed to be valid.
See Also