Returns the locale associated with this service provider.
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
'Declaration Public Function GetProviderLocale As Integer
public int GetProviderLocale()
public: int GetProviderLocale()
member GetProviderLocale : unit -> int
public function GetProviderLocale() : int
Returns the locale identifier for the service provider.
The GetProviderLocale method returns the locale identifier for the service provider passed to the managed VSPackage when it is loaded. This is useful for users of the VSPackage to determine what locale they should honor. Note that there is no need to set the CurrentUICulture setting of the framework since the Package class sets this for you.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.