MsgPropertyCollection.SetValue Method
Namespace: Rebex.Mail
Assembly: Rebex.Msg.dll (version 7.0.9119)
SetValue<T>(MsgPropertyTag, T)
Sets the value of a property specified by the property Tag.
Declaration
public void SetValue<T>(MsgPropertyTag tag, T value)
Parameters
Type | Name | Description |
---|---|---|
MsgPropertyTag | tag | Tag of the property to set. |
T | value | Value of the property to set. |
Type Parameters
Name | Description |
---|---|
T | Type of the value to set. |
SetValue<T>(MsgPropertyId, MsgPropertySet, T)
Sets the value of a Numerical named property specified by the property LID.
Declaration
public void SetValue<T>(MsgPropertyId id, MsgPropertySet set, T value)
Parameters
Type | Name | Description |
---|---|---|
MsgPropertyId | id | LID of the property to set. |
MsgPropertySet | set | One of well known property set. |
T | value | Value of the property to set. |
Type Parameters
Name | Description |
---|---|
T | Type of the value to set. |