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

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

                    return(obj);
                }