AddNamedPropertyMapping

MapiNamedPropertyMappingStorage.AddNamedPropertyMapping method (1 of 2)

Adds the named property mapping for numeric named property.

public void AddNamedPropertyMapping(MapiProperty property, long nameId, Guid guid)
Parameter Type Description
property MapiProperty The property to add mapping for.
nameId Int64 The name id.
guid Guid The GUID identifying property set.

Remarks

property should have a valid id for named property, GetNextAvailablePropertyId can be used to generate one. Otherwise an exception will be thrown.

See Also


MapiNamedPropertyMappingStorage.AddNamedPropertyMapping method (2 of 2)

Adds the named property mapping for string named property.

public void AddNamedPropertyMapping(MapiProperty property, string nameId, Guid guid)
Parameter Type Description
property MapiProperty The property to add mapping for.
nameId String The name id.
guid Guid The GUID identifying property set.

Remarks

property should have a valid id for named property, GetNextAvailablePropertyId can be used to generate one. Otherwise an exception will be thrown.

See Also