J
Jim Carpenter
What is the relationship between the exchange store schema and MAPI
proptags? For example, "urn:schemas:mailheader:subject" would seem to
map to PR_SUBJECT. Is there a unique proptag for each schema element?
Is there any documentation that describes such a mapping?
Here is what I am trying to do:
Dim cItem As Outlook.ContactItem
Dim safeContact As Redemption.SafeContactItem
safeContact.Item = cItem
Dim urnStr As String = "urn:schemas:contacts:cn"
' Prop tag should be PR_DISPLAY_NAME (0x3001001E)
Dim propTag As Integer = GetPropTagFromSchema(urnStr)
Dim commonName As String = safeContact.get_Fields(propTag)
The method GetPropTagFromSchema should return a valid prop tag value
for the schema field name. Does something like this exist?
Thanks,
Jim Carpenter
SRI International
proptags? For example, "urn:schemas:mailheader:subject" would seem to
map to PR_SUBJECT. Is there a unique proptag for each schema element?
Is there any documentation that describes such a mapping?
Here is what I am trying to do:
Dim cItem As Outlook.ContactItem
Dim safeContact As Redemption.SafeContactItem
safeContact.Item = cItem
Dim urnStr As String = "urn:schemas:contacts:cn"
' Prop tag should be PR_DISPLAY_NAME (0x3001001E)
Dim propTag As Integer = GetPropTagFromSchema(urnStr)
Dim commonName As String = safeContact.get_Fields(propTag)
The method GetPropTagFromSchema should return a valid prop tag value
for the schema field name. Does something like this exist?
Thanks,
Jim Carpenter
SRI International