示例#1
0
                    /// <summary>
                    /// 获取支持的专题图关键字
                    /// </summary>
                    /// <returns>关键字列表</returns>
                    public EarthView.World.Core.StringArray GetKeys()
                    {
                        IntPtr __ptr = EarthView_World_Spatial2D_Renderer_CDrawThemeFactory_getKeys_CStringArray(this.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Core.StringArray csObj = new EarthView.World.Core.StringArray(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "CStringArray");
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Core.StringArray;
                            csObj.BindNativeObject(__ptr, "CStringArray");
                        }
                        return(csObj);
                    }
示例#2
0
    /// <summary>
    /// 当前目录文件和文件夹列表
    /// </summary>
    /// <param name=""></param>
    /// <returns></returns>
    public EarthView.World.Core.StringArray Dir()
    {
        IntPtr __ptr = FTPClient_dir_CStringArray(this.NativeObject);

        if (__ptr == IntPtr.Zero)
        {
            return(null);
        }
        EarthView.World.Core.StringArray csObj = new EarthView.World.Core.StringArray(CreatedWhenConstruct.CWC_NotToCreate);
        csObj.BindNativeObject(__ptr, "CStringArray");
        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

        if (csObjClassFactory != null)
        {
            csObj.Delegate = true;
            csObj          = csObjClassFactory.Create() as EarthView.World.Core.StringArray;
            csObj.BindNativeObject(__ptr, "CStringArray");
        }
        return(csObj);
    }