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(); }
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()); }