Share via


Languages Property

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

Gets a collection of the languages for the current instance.

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

Syntax

'Declaration
Public ReadOnly Property Languages As ReadOnlyStringCollection
'Usage
Dim instance As ProductCatalog
Dim value As ReadOnlyStringCollection

value = instance.Languages
public ReadOnlyStringCollection Languages { get; }
public:
property ReadOnlyStringCollection^ Languages {
    ReadOnlyStringCollection^ get ();
}
public function get Languages () : ReadOnlyStringCollection

Property Value

Type: Microsoft.CommerceServer.Runtime..::.ReadOnlyStringCollection
A ReadOnlyStringCollection containing the languages for the current instance.

Remarks

Languages property gets all of the available languages for this catalog as an array of strings. You can add new languages to this collection by calling the AddLanguage method or remove languages from this collection by calling the RemoveLanguage method. If you add or remove languages from this collection you should call the Save method to save the changes to the catalog system.

Permissions

See Also

Reference

ProductCatalog Class

ProductCatalog Members

Microsoft.CommerceServer.Catalog Namespace