Freigeben über


lcid

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

Allowed on

Parameter in a member of an interface.

Remarks

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

The lcidattribute allows members in the VTBL to receive an LCID at the time of invocation. By convention, the lcidparameter 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 lcidparameter. Parameters with this attribute are not displayed in user-oriented browsers.

Attribute Descriptions