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 |
|
Type library |
|
DLL |
|
CLSID |
CLSID_SWbemObjectPath |
IID |
IID_ISWbemObjectPath |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για