MessageManager.DefaultLanguage

Ee824565.c++_on(en-US,CS.10).gifEe824565.vb_off(en-US,CS.10).gif

Use the DefaultLanguage property to specify the default message set for the MessageManager. When you use the GetMessage method, or use the AddMessage method to add messages to the MessageManager, without specifying a message set for those messages, then the messages are associated with the message set specified in this property.

Definition

Property DefaultLanguage As String

Parameters

None.

Error Values

This property sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.

Remarks

For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.

See Also

MessageManager Object

MessageManager.GetLocale


All rights reserved.