예제 #1
0
                    public static AttributeQuery FromBaseObject(BaseObject baseObj)
                    {
                        if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                        {
                            return(null);
                        }
                        AttributeQuery obj = baseObj as  AttributeQuery;

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

                        return(obj);
                    }