DTE2.LocaleID Property
Gets the ID of the locale in which the development environment is running.
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.dll)
Syntax
'Declaration
ReadOnly Property LocaleID As Integer
int LocaleID { get; }
property int LocaleID {
int get ();
}
abstract LocaleID : int with get
function get LocaleID () : int
Property Value
Type: Int32
The ID of the locale in which the development environment is running.
Remarks
The ID returned by the LocaleID property indicates a folder that stores localized resource DLLs, which support various Add-ins.
Examples
Sub LocaleIDExample()
MsgBox(DTE2.LocaleID)
End Sub
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.