Exemplo n.º 1
0
        public bool writeStringSettingsToLocalStorage(Windows.Storage.ApplicationDataCompositeValue composite, string key, string value)
        {
            if (!composite.ContainsKey(key))
            {
                composite.Add(key, value);
            }
            else
            {
                composite[key] = value;
            }

            return(true);
        }
Exemplo n.º 2
0
        public bool writeSettingsToLocalStorage(Windows.Storage.ApplicationDataCompositeValue composite, int Idx)
        {
            String key = getCompositePropertyIDName("m_DataCompositeIDName", Idx);

            if (!composite.ContainsKey(key))
            {
                composite.Add(key, m_DataCompositeIDName);
            }
            else
            {
                composite[key] = m_DataCompositeIDName;
            }

            return(true);
        }