API Reference
Class
MapiPropertyPatch
Ordered typed changes applied after normal semantic projection when an EmailDocument is written. This lets advanced callers override or remove exact MAPI properties without replacing unrelated raw state.
Inheritance
- Object
- MapiPropertyPatch
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property EmailDocument.MapiWritePatch
- Method MapiPropertyPatch.Append
- Method MapiPropertyPatch.Remove
- Method MapiPropertyPatch.Set``1
- Method MapiPropertyPatch.Set``1
- Property EmailStoreItemPatch.Properties
Accepted by parameters
Constructors
public MapiPropertyPatch() #Methods
public MapiPropertyPatch Append(MapiPropertyPatch patch) #Returns:
MapiPropertyPatchAppends a snapshot of another patch's ordered changes.
Parameters
- patch OfficeIMO.Email.MapiPropertyPatch
public Void Apply(MapiPropertyBag bag) #Returns:
VoidApplies the patch directly to a mutable raw property bag.
Parameters
- bag OfficeIMO.Email.MapiPropertyBag
public MapiPropertyPatch Remove(MapiPropertyKey key) #Returns:
MapiPropertyPatchStages removal of every raw value with one canonical identity.
Parameters
- key OfficeIMO.Email.MapiPropertyKey
Set``1 2 overloads
public MapiPropertyPatch Set<T>(MapiPropertyKey<T> key, T value, Nullable<UInt32> flags = null) #Returns:
MapiPropertyPatchStages a typed set using the key's preferred wire type.
Type Parameters
- T
Parameters
- key OfficeIMO.Email.MapiPropertyKey{``0}
- value ``0
- flags System.Nullable{System.UInt32} = null
public MapiPropertyPatch Set<T>(MapiPropertyKey<T> key, T value, MapiPropertyType wireType, Nullable<UInt32> flags = null) #Returns:
MapiPropertyPatchStages a typed set using an explicitly accepted wire type.
Type Parameters
- T
Parameters
- key OfficeIMO.Email.MapiPropertyKey{``0}
- value ``0
- wireType OfficeIMO.Email.MapiPropertyType
- flags System.Nullable{System.UInt32} = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object