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

public static void InvokeSetterSafe( Object target, string property, Object value )
Public Shared Sub InvokeSetterSafe ( target As Object, property As String, value As Object )
Parameters
- target
- Type: SystemObject
Object to invoke on. - property
- Type: SystemString
Name of property to invoke. - value
- Type: SystemObject
