ContactCardDelayedDataLoader.SetData(Contact) Method
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.
public:
virtual void SetData(Contact ^ contact) = SetData;
void SetData(Contact const& contact);
public void SetData(Contact contact);
function setData(contact)
Public Sub SetData (contact As Contact)
Parameters
- contact
- Contact
The contact to update the contact card with.
Windows requirements
App capabilities |
contactsSystem
|
Remarks
Note
The contact card will time out within four seconds after ShowDelayLoadedContactCard returns. So, if SetData isn't called within this four second interval, the contact card UI becomes final, and no more updates can be applied. You can call SetData only once and before you call Close. If you call SetData twice or after Close, SetData fails with an exception; the HRESULT error code is HRESULT_FROM_WIN32(ERROR_INVALID_STATE).
For info about how to manage contacts, see Contacts and calendar.