languagecode Field

languagecode Field

This field is used to specify which language to use when generating the response text for replying or forwarding messages.

Full Name

https://schemas.microsoft.com/cdo/configuration/languagecode

Name Constant

CdoConfiguration.cdoLanguageCode

Variant SubType

String

BSTR

Remarks

The response text is generated only if the usemessageresponsetext field is set to True (VARIANT_TRUE).

The format of the language codes are defined in RFC 1766 and are used to generate the LCID for a particular locale. The language codes supported by versions of CDOSYS that ship with Windows® XP and later are listed in the following table.

Language LCID Decimal (Hex) RFC 1766 code

Arabic (Saudi Arabia)

1025 (0x401)

ar-sa

Chinese

1028 (0x404)

zh-tw

Czech

1029 (0x405)

cs

Danish

1030 (0x406)

da

German

1031 (0x407)

de

Greek

1032 (0x408)

el

US English

1033 (0x409)

en-us

Finnish

1035 (0x40B)

fi

French

1036 (0x40C)

fr

Hebrew

1037 (0x40D)

he

Hungarian

1038 (0x40E)

hu

Italian

1040 (0x410)

it

Japanese

1041 (0x411)

ja

Korean

1042 (0x412)

ko

Dutch

1043 (0x413)

nl

Norwegian

1044 (0x414)

no

Polish

1045 (0x415)

pl

Portuguese (Brazil)

1046 (0x416)

pt-br

Russian

1049 (0x419)

ru

Swedish

1053 (0x41D)

sv

Chinese

2052 (0x804)

zh-cn

Potruguese (Portugal)

2070 (0x816)

pt

Spanish

3082 (0xC0A)

es

Example

de

See Also

Concepts

Reply Method
PostReply Method
Forward Method
ReplyAll Method
usemessageresponsetext Field