PhoneDialOptions.Contact Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the address book contact associated with a dial request.
public:
property Contact ^ Contact { Contact ^ get(); void set(Contact ^ value); };
Contact Contact();
void Contact(Contact value);
public Contact Contact { get; set; }
var contact = phoneDialOptions.contact;
phoneDialOptions.contact = contact;
Public Property Contact As Contact
Property Value
The address book contact associated with a dial request.
Windows requirements
App capabilities |
phoneCallHistory
phoneCallHistorySystem
|
Remarks
If you are supplying an IContact as the Contact, then you need to make sure it is a component contact and not an aggregate contact. This will make sure that the correct contact is reached when you attempt to place a call using these PhoneDialOptions. Otherwise, the additional information in the contact will be lost and a lookup will be performed using only the number. This might result in the incorrect contact being selected if multiple contacts share the same number but have different metadata.