0

I want to know whether I have to fetch PropertyID for PidLidAppointmentDuration using GetNamesFromIDs(), like the way we do for Named-Property.

http://msdn.microsoft.com/en-us/library/cc433490%28v=exchg.80%29.aspx
2.11   PidLidAppointmentDuration 
Canonical name: PidLidAppointmentDuration 
Description: Specifies the length of the event, in minutes. 
Property set: PSETID_Appointment {00062002-0000-0000-C000-000000000046} 
Property long ID (LID): 0x00008213 
Data type: PtypInteger32, 0x0003 

Here microsoft gives PropertyID right way. So can I use 0x8213 directly without calling GetNamesFromIDs(). More importantly, will 0x8213 work in every environment.

Thanks Ramesh

4

1 回答 1

2

这根本不是它的意思:这里的属性 id 是您在调用 GetIdsFromNames 时传递的(连同 GUID)。

于 2013-10-16T20:25:19.430 回答