lcid

Description

Indicates that the parameter is a locale ID (LCID).

Allowed on

Parameter in a member of an interface.

Comments

Only one parameter can have this attribute. The parameter must have the in attribute and not the out attribute, and its type must be long. The lcid attribute is not allowed on dispinterfaces.

The lcid attribute allows members in the VTBL to receive an LCID at the time of invocation. By convention, the lcid parameter is the last parameter not to have the retval attribute. If the member specifies propertyput or propertyputref, the lcid parameter must precede the parameter that represents the right side of the property assignment.

ITypeInfo::Invoke passes the LCID of the type information into the lcid parameter. Parameters with this attribute are not displayed in user-oriented browsers.