Share via


_DTE.LocaleID Property

Gets the ID of the locale in which the development environment is running.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
ReadOnly Property LocaleID As Integer
'Usage
Dim instance As _DTE 
Dim value As Integer 

value = instance.LocaleID
int LocaleID { get; }
property int LocaleID {
    int get ();
}
function get LocaleID () : int

Property Value

Type: System.Int32
An integer value representing 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(DTE.LocaleID)
End Sub

.NET Framework Security

See Also

Reference

_DTE Interface

_DTE Members

EnvDTE Namespace