Package.GetProviderLocale Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the locale associated with this service provider.
public:
int GetProviderLocale();
public:
int GetProviderLocale();
int GetProviderLocale();
public int GetProviderLocale ();
member this.GetProviderLocale : unit -> int
Public Function GetProviderLocale () As Integer
Returns
Returns the locale identifier for the service provider.
Remarks
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.