Partager via


DefaultCultureCode Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the default subject language for the DirectMail.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Property DefaultCultureCode As String
'Usage
Dim instance As DirectMail
Dim value As String

value = instance.DefaultCultureCode

instance.DefaultCultureCode = value
public string DefaultCultureCode { get; set; }
public:
property String^ DefaultCultureCode {
    String^ get ();
    void set (String^ value);
}
public function get DefaultCultureCode () : String
public function set DefaultCultureCode (value : String)

Property Value

Type: System..::.String
The culture code of the default language of the direct mail subject.

Exceptions

Exception Condition
ArgumentNullException

DefaultCultureCode has been set to nullNothingnullptra null reference (Nothing in Visual Basic).

StringLengthValidationException

DefaultCultureCode has been set to an invalid value.

Remarks

Stores the default subject language for the DirectMail. Culture Code (or language) that will be used for recipients that didn’t specify the preferred Culture Code. Example: “en-us”.

Permissions

See Also

Reference

DirectMail Class

DirectMail Members

Microsoft.CommerceServer.Marketing Namespace