This documentation is archived and is not being maintained.

LocaleID Property

Visual Studio .NET 2003

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

[Visual Basic .NET]
Public ReadOnly Property LocaleID() As Integer
[Visual Basic 6]
Property Get LocaleID() As Long
[C++]
HRESULT __stdcall get_LocaleID(
   /* [out, retval] */ long* retVal
);
[C#]
public int LocaleID {get;}
[JScript .NET]
public function get LocaleID() : int

Remarks

The ID returned by the LocaleID property indicates a folder that stores localized resource DLLs, which support various Add-ins.

Example

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

See Also

Applies To: DTE Object

Show: