コード例 #1
0
        public void Load(IPersistStream stream)
        {
            this.ConnectionString = (string)stream.Load("ConnectionString", "");
            _properties           = stream.Load("Properties", new ArcXMLProperties(), new ArcXMLProperties()) as ArcXMLProperties;

            _class = new ArcIMSClass(this);
            Open();
        }
コード例 #2
0
        async public Task <bool> LoadAsync(IPersistStream stream)
        {
            await this.SetConnectionString((string)stream.Load("ConnectionString", ""));

            _properties = stream.Load("Properties", new ArcXMLProperties(), new ArcXMLProperties()) as ArcXMLProperties;

            _class = new ArcIMSClass(this);
            return(await Open());
        }