Share via


DefaultLanguage Property

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

Gets or sets the default language of the catalog.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Property DefaultLanguage As String
'Usage
Dim instance As CatalogsDataSet..::.Catalog
Dim value As String

value = instance.DefaultLanguage

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

Property Value

Type: System..::.String
The DefaultLanguage.

Exceptions

Exception Condition
StrongTypingException

The value for column DefaultLanguage in table Catalogs is DBNull.

Remarks

The culture code indicating the default language for the catalog. Should not be nullNothingnullptra null reference (Nothing in Visual Basic).

The defaultLanguage should:

  • Not be nullNothingnullptra null reference (Nothing in Visual Basic) or blank.

  • Not exceed 10 characters.

  • Not contain the ,'[] characters.

Permissions

See Also

Reference

CatalogsDataSet..::.Catalog Class

CatalogsDataSet..::.Catalog Members

Microsoft.CommerceServer.Catalog Namespace