Create a gist now

Instantly share code, notes, and snippets.

@mcarbenay /creer-liste.ts Secret
Last active Dec 3, 2017

What would you like to do?
private static createContactList(store : Windows.ApplicationModel.Contacts.ContactStore) {
store.createContactListAsync(ListeContactSample.listName).done(function (laListe) {
laListe.otherAppReadAccess = Windows.ApplicationModel.Contacts
.ContactListOtherAppReadAccess.full;
laListe.otherAppWriteAccess = Windows.ApplicationModel.Contacts
.ContactListOtherAppWriteAccess.none;
laListe.saveAsync().done(function () {
ListeContactSample.refreshContactList(laListe);
});
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment