Grasshopper API
UtilityInvokeGetterSafe Method |
Call a getter property via its name. No exceptions are thrown.
Namespace: Grasshopper
Assembly: Grasshopper (in Grasshopper.dll)

public static Object InvokeGetterSafe( Object target, string property )
Public Shared Function InvokeGetterSafe ( target As Object, property As String ) As Object
Parameters
- target
- Type: SystemObject
Object to invoke on. - property
- Type: SystemString
Name of property to invoke.
Return Value
Type: ObjectThe return value of the method.
