Düzenle

Aracılığıyla paylaş


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.

Syntax

SWbemObjectPath.Locale As String

Property value

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Wbemdisp.h
Type library
Wbemdisp.tlb
DLL
Wbemdisp.dll
CLSID
CLSID_SWbemObjectPath
IID
IID_ISWbemObjectPath