コード例 #1
0
                    public static WebManager FromBaseObject(BaseObject baseObj)
                    {
                        if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                        {
                            return(null);
                        }
                        WebManager obj = baseObj as  WebManager;

                        if (object.Equals(obj, null))
                        {
                            obj = new WebManager(CreatedWhenConstruct.CWC_NotToCreate);
                            obj.BindNativeObject(baseObj.NativeObject, "CWebManager");
                            obj.IncreaseCast();
                        }

                        return(obj);
                    }