Dela via


AddContactResult Enum

Definition

Indicates whether a contact was added successfully.

public enum class AddContactResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class AddContactResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum AddContactResult
var value = Windows.ApplicationModel.Contacts.Provider.AddContactResult.added
Public Enum AddContactResult
Inheritance
AddContactResult
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
contactsSystem

Fields

Name Value Description
Added 0

The contact was added.

AlreadyAdded 1

The contact was already selected by the user.

Unavailable 2

The contact was unavailable and was not added.

Applies to