Edit

Share via


LocalizationExtenderProvider(ISite, IComponent) Constructor

Definition

Initializes a new instance of the LocalizationExtenderProvider class using the specified service provider and base component.

public:
 LocalizationExtenderProvider(System::ComponentModel::ISite ^ serviceProvider, System::ComponentModel::IComponent ^ baseComponent);
public LocalizationExtenderProvider(System.ComponentModel.ISite serviceProvider, System.ComponentModel.IComponent baseComponent);
new System.ComponentModel.Design.LocalizationExtenderProvider : System.ComponentModel.ISite * System.ComponentModel.IComponent -> System.ComponentModel.Design.LocalizationExtenderProvider
Public Sub New (serviceProvider As ISite, baseComponent As IComponent)

Parameters

serviceProvider
ISite

A service provider for the specified component.

baseComponent
IComponent

The base component to localize.

Remarks

By default, a new LocalizationExtenderProvider sets the current language to InvariantCulture, which is the generic and default language resource setting. This setting causes a designer to generate code that references the generic language resource. You can create other CultureInfo objects to represent and identify other localized resource data that a program can use at run time.

Applies to