Enterra.V8x1C.DOM.BaseObject.SetV8Property C# (CSharp) Method

SetV8Property() static private method

Set property
static private SetV8Property ( object target, string name, object value ) : void
target object
name string
value object
return void
        internal static void SetV8Property(object target, string name, object value)
        {
            try
            {
                target.GetType().InvokeMember(name,
                    BindingFlags.Public | BindingFlags.SetProperty,
                    null, target,
                    new object[] { value }
                    );
            }
            catch (TargetInvocationException exc)
            {
                throw exc.InnerException;
            }
        }
        

Same methods

BaseObject::SetV8Property ( string name, object value ) : void