Export (0) Print
Expand All

SWbemObjectPath.Locale property

The Locale property of the SWbemObjectPath object contains the locale of object path.

When the SWbemObjectPath.Locale property is part of a standalone SWbemObjectPath object, it is read/write and can be used to set the locale component of the moniker.

When the SWbemObjectPath.Locale property is accessed as part of a SWbemObject.Path_ property, it is read-only and reports the value of the locale used in binding to the namespace from which the object was obtained.

For Microsoft locale identifiers, the format of the string is "MS_xxxx", where xxxx is a string in hexadecimal form that indicates the LCID. For example, the American English locale identifier is "MS_409".

For an explanation of this syntax, see Document Conventions for the Scripting API.

This property is read/write.


SWbemObjectPath.Locale As String

Property value


Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Type library






© 2015 Microsoft