ISyncMgrConflict::GetProperty method (syncmgr.h)
Gets a conflict property, given a property key.
Syntax
HRESULT GetProperty(
[in] REFPROPERTYKEY propkey,
[out] PROPVARIANT *ppropvar
);
Parameters
[in] propkey
Type: REFPROPERTYKEY
A reference to the property key for which the property is being requested. Any property key is valid here, including but not limited to the following values.
PKEY_ItemNameDisplay
Name of the conflict.
PKEY_Sync_ConflictDescription
Summary of the conflict.
PKEY_Sync_HandlerID
Sync handler that created the conflict.
PKEY_Sync_ItemID
Sync item that created the conflict.
PKEY_DateModified
Time the conflict was detected.
[out] ppropvar
Type: PROPVARIANT*
When this method returns, contains a PROPVARIANT structure that contains the requested property.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The properties returned are properties of the conflict and not of the IShellItems that are in conflict.
If the PROPERTYKEY referenced in propkey is not present in the property store, this method returns S_OK and the vt member of the structure pointed to by ppropvar is set to VT_EMPTY.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | syncmgr.h |