Skip to content

Instantly share code, notes, and snippets.

@mcarbenay
Last active December 3, 2017 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcarbenay/de033699a0e89c0b14210ece4ca04d25 to your computer and use it in GitHub Desktop.
Save mcarbenay/de033699a0e89c0b14210ece4ca04d25 to your computer and use it in GitHub Desktop.
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