Package.GetProviderLocale Method

Returns the locale associated with this service provider.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

public int GetProviderLocale()

Return Value

Type: System.Int32
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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft