Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Do not use. Defines methods for reading and writing properties for a single contact.
Inheritance
The IContact interface inherits from the IUnknown interface. IContact also has these types of members:
Methods
The IContact interface has these methods.
IContact::CommitChanges Saves changes made to this contact to the contact file. |
IContact::GetContactID Retrieves the local computer unique contact ID. |
IContact::GetPath Retrieves the file system path used to load this contact. |
Remarks
Classes that implement this interface often also implement these interfaces:
- IPersistFile: Enables the contact to be loaded from a file. Use this interface when loading a contact to get full support in CommitChanges to change conflict detection.
- IPersistStream: Provides methods for saving and loading objects that use a simple serial stream for their storage needs.
- IPersistStreamInit: Enables the contact to be saved or loaded from a stream. Use IPersistStreamInit::InitNew to create a new IContact. Note: loading a contact with IPersistStream does not give you the locking and conflict detection that IPersistFile::Load and CommitChanges do.
- IContactProperties: Enables manipulation of contact properties.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | icontact.h (include Contact.h) |