MapiNamedPropertyMappingStorage.AddNamedPropertyMapping

AddNamedPropertyMapping(MapiProperty, long, Guid)

Adds the named property mapping for numeric named property.

public void AddNamedPropertyMapping(MapiProperty property, long nameId, Guid guid)
ParameterTypeDescription
propertyMapiPropertyThe property to add mapping for.
nameIdInt64The name id.
guidGuidThe 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


AddNamedPropertyMapping(MapiProperty, string, Guid)

Adds the named property mapping for string named property.

public void AddNamedPropertyMapping(MapiProperty property, string nameId, Guid guid)
ParameterTypeDescription
propertyMapiPropertyThe property to add mapping for.
nameIdStringThe name id.
guidGuidThe 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