MessageObjectProperty.MessageObjectProperty

MessageObjectProperty(long, MapiPropertyFlags, object)

Initializes a new instance of the MessageObjectProperty class.

public MessageObjectProperty(long propertyTag, MapiPropertyFlags flags, object value)
ParameterTypeDescription
propertyTagInt64The property tag.
flagsMapiPropertyFlagsThe flags to be set on.
valueObjectThe value of the property.

Exceptions

exceptioncondition
ArgumentNullExceptionIf value is null.
InvalidEnumArgumentExceptionIf propertyTag contains invalid type definition."

See Also


MessageObjectProperty(int, MapiType, MapiPropertyFlags, object)

Initializes a new instance of the MessageObjectProperty class.

public MessageObjectProperty(int id, MapiType type, MapiPropertyFlags flags, object value)
ParameterTypeDescription
idInt32The id.
typeMapiTypeThe type of the property.
flagsMapiPropertyFlagsThe flags to be set on.
valueObjectThe value of the property.

Exceptions

exceptioncondition
ArgumentNullExceptionIf value is null.
InvalidEnumArgumentExceptionIf type is invalid."

See Also