ContactStore.CreateContactListAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
CreateContactListAsync(String) |
Crée de façon asynchrone une Liste de contacts avec le nom d’affichage spécifié. |
CreateContactListAsync(String, String) |
Crée de façon asynchrone une Liste de contacts avec le nom d’affichage et le compte d’utilisateur spécifiés. |
CreateContactListAsync(String)
Crée de façon asynchrone une Liste de contacts avec le nom d’affichage spécifié.
public:
virtual IAsyncOperation<ContactList ^> ^ CreateContactListAsync(Platform::String ^ displayName) = CreateContactListAsync;
/// [Windows.Foundation.Metadata.Overload("CreateContactListAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ContactList> CreateContactListAsync(winrt::hstring const& displayName);
[Windows.Foundation.Metadata.Overload("CreateContactListAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ContactList> CreateContactListAsync(string displayName);
function createContactListAsync(displayName)
Public Function CreateContactListAsync (displayName As String) As IAsyncOperation(Of ContactList)
Paramètres
- displayName
-
String
Platform::String
winrt::hstring
Nom du nouveau ContactList, adapté à l’affichage dans l’interface utilisateur.
Retours
ContactList nouvellement créé.
- Attributs
Configuration requise pour Windows
Fonctionnalités de l’application |
contactsSystem
|
Voir aussi
S’applique à
CreateContactListAsync(String, String)
Crée de façon asynchrone une Liste de contacts avec le nom d’affichage et le compte d’utilisateur spécifiés.
public:
virtual IAsyncOperation<ContactList ^> ^ CreateContactListAsync(Platform::String ^ displayName, Platform::String ^ userDataAccountId) = CreateContactListAsync;
/// [Windows.Foundation.Metadata.Overload("CreateContactListInAccountAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ContactList> CreateContactListAsync(winrt::hstring const& displayName, winrt::hstring const& userDataAccountId);
[Windows.Foundation.Metadata.Overload("CreateContactListInAccountAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ContactList> CreateContactListAsync(string displayName, string userDataAccountId);
function createContactListAsync(displayName, userDataAccountId)
Public Function CreateContactListAsync (displayName As String, userDataAccountId As String) As IAsyncOperation(Of ContactList)
Paramètres
- displayName
-
String
Platform::String
winrt::hstring
Nom du nouveau ContactList, adapté à l’affichage dans l’interface utilisateur.
- userDataAccountId
-
String
Platform::String
winrt::hstring
ID de UserDataAccount à utiliser lors de la création de ContactList.
Retours
ContactList nouvellement créé.
- Attributs
Configuration requise pour Windows
Fonctionnalités de l’application |
contactsSystem
|
Voir aussi
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour