MessageManager.defaultLanguage Property (PIA)

The defaultLanguage property is a String that is used to specify the default message set for the MessageManager object. When you use the GetMessage method, or use the AddMessage method to add messages to the MessageManager object, without specifying a message set for those messages, then the messages are associated with the message set specified in this property.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop
…
Public Property defaultLanguage As String

[C#]

using Microsoft.CommerceServer.Interop;
…
public string defaultLanguage {get; set; }

Parameters

[C#]

  • defaultLanguage
    When setting the property, a string that contains the default language.
    When getting the property, a string used to return the default language.

Property Value

[C#] This property is a string containing the default language.

Exceptions

This property may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

Requirements

Namespace: Microsoft.CommerceServer.Interop

Platforms: Windows 2000, Windows Server 2003

Assembly: mscsasphelplib (in mscsasphelplib.dll)

See Also

MessageManager Class

MessageManager.GetLocale

Copyright © 2005 Microsoft Corporation.
All rights reserved.