共用方式為


_DTE.LocaleID Property

Definition

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

public:
 property int LocaleID { int get(); };
public:
 property int LocaleID { int get(); };
[System.Runtime.InteropServices.DispId(218)]
public int LocaleID { [System.Runtime.InteropServices.DispId(218)] get; }
[<System.Runtime.InteropServices.DispId(218)>]
[<get: System.Runtime.InteropServices.DispId(218)>]
member this.LocaleID : int
Public ReadOnly Property LocaleID As Integer

Property Value

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

Attributes

Examples

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

Remarks

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

Applies to