Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

_DTE.LocaleID Property

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

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

int LocaleID { get; }
/** @property */
int get_LocaleID ()

function get LocaleID () : int

Property Value

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, which support various Add-ins.

Sub LocaleIDExample()
  MsgBox(DTE.LocaleID)
End Sub

Community Additions

ADD
Show:
© 2015 Microsoft