Attempt a cast to type Q.
Namespace:
Grasshopper.Kernel.Types
Assembly:
Grasshopper (in Grasshopper.dll)
Syntaxpublic virtual bool CastTo<Q>(
ref Q target
)
Public Overridable Function CastTo(Of Q) (
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.
Implements
IGH_GooCastToT(T)
RemarksIf false, the target instance contents are not guaranteed to be valid.
See Also