GH_PredicateTryCastToT Method |
Namespace:
Grasshopper.Kernel.Types
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static bool TryCastTo<T>(
Object source,
out T target
)
Public Shared Function TryCastTo(Of T) (
source As Object,
<OutAttribute> ByRef target As T
) As Boolean
Parameters
- source
- Type: SystemObject
- target
- Type: T
Type Parameters
- T
Return Value
Type:
BooleanSee Also