Exemplo n.º 1
0
        public static bool JScriptIn(object v1, object v2)
        {
            ScriptObject obj = v2 as ScriptObject;

            if (obj == null)
            {
                return(false);
            }
            string key = Convert.ToString(v1);

            return(LateBinding.HasObjectProperty(obj, key));
        }