_DTE.LocaleID Property

 

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

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

ReadOnly Property LocaleID As Integer

Property Value

Type: System.Int32

An integer value representing the ID of the locale in which the development environment is running.

The ID returned by the LocaleID property indicates a folder that stores localized resource DLLs.

Sub LocaleIDExample()
  MsgBox(DTE.LocaleID)
End Sub
Return to top
Show: