PreferredFormat Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the preferred message format of the user represented by this object.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property PreferredFormat As MessageFormat
'Usage
Dim instance As MailingListUser
Dim value As MessageFormat
value = instance.PreferredFormat
instance.PreferredFormat = value
public MessageFormat PreferredFormat { get; set; }
public:
property MessageFormat PreferredFormat {
MessageFormat get ();
void set (MessageFormat value);
}
public function get PreferredFormat () : MessageFormat
public function set PreferredFormat (value : MessageFormat)
Property Value
Type: Microsoft.CommerceServer.Marketing..::.MessageFormat
The recipient's preferred message format. Default is None.
Remarks
If set to None, e-mail sent to this user will be in the format specified by DefaultFormat.
The MessageFormat enumeration value shall be one of the following:
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.