Locale Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets value that indicates the default locale to be used by the Catalog.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Property Locale As Integer
'Usage
Dim instance As CatalogsDataSet..::.Catalog
Dim value As Integer
value = instance.Locale
instance.Locale = value
public int Locale { get; set; }
public:
property int Locale {
int get ();
void set (int value);
}
public function get Locale () : int
public function set Locale (value : int)
Property Value
Type: System..::.Int32
This property is an integer containing the locale.
Exceptions
Exception | Condition |
---|---|
StrongTypingException | The value for column Locale in table Catalogs is DBNull. |
Remarks
Locale of the catalog. Many of the methods implemented in the Commerce Server objects take locale identifiers. These identifiers are represented by unique hexadecimal codes.
The list of locale and language identifiers can be found in the National Language Support API. This specification can be found in the Microsoft Developer Network. (See Platform SDK, Windows Base Services, International Features).
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.
See Also
Reference
CatalogsDataSet..::.Catalog Class