CodeDomLocalizationProvider CodeDomLocalizationProvider CodeDomLocalizationProvider CodeDomLocalizationProvider Class

Definition

Provides CodeDOM resource serialization services. This class cannot be inherited.

public ref class CodeDomLocalizationProvider sealed : IDisposable, System::ComponentModel::Design::Serialization::IDesignerSerializationProvider
public sealed class CodeDomLocalizationProvider : IDisposable, System.ComponentModel.Design.Serialization.IDesignerSerializationProvider
type CodeDomLocalizationProvider = class
    interface IDisposable
    interface IDesignerSerializationProvider
Public NotInheritable Class CodeDomLocalizationProvider
Implements IDesignerSerializationProvider, IDisposable
Inheritance
CodeDomLocalizationProviderCodeDomLocalizationProviderCodeDomLocalizationProviderCodeDomLocalizationProvider
Implements

Remarks

The CodeDomLocalizationProvider class is a serialization provider that provides a localization feature. It supports serializing to resources through IResourceService, and it adds two properties to the root component: Language and Localizable. If Localizable is set to true, this provider changes the way that component properties are generated and routes their values to a resource file. Two localization models are supported.

You can control the cultures that are offered and the style of localization with constructor parameters.

Constructors

CodeDomLocalizationProvider(IServiceProvider, CodeDomLocalizationModel) CodeDomLocalizationProvider(IServiceProvider, CodeDomLocalizationModel) CodeDomLocalizationProvider(IServiceProvider, CodeDomLocalizationModel) CodeDomLocalizationProvider(IServiceProvider, CodeDomLocalizationModel)

Initializes a new instance of the CodeDomLocalizationProvider class.

CodeDomLocalizationProvider(IServiceProvider, CodeDomLocalizationModel, CultureInfo[]) CodeDomLocalizationProvider(IServiceProvider, CodeDomLocalizationModel, CultureInfo[]) CodeDomLocalizationProvider(IServiceProvider, CodeDomLocalizationModel, CultureInfo[]) CodeDomLocalizationProvider(IServiceProvider, CodeDomLocalizationModel, CultureInfo[])

Initializes a new instance of the CodeDomLocalizationProvider class.

Methods

Dispose() Dispose() Dispose() Dispose()

Releases all resources used by the CodeDomLocalizationProvider.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IDesignerSerializationProvider.GetSerializer(IDesignerSerializationManager, Object, Type, Type) IDesignerSerializationProvider.GetSerializer(IDesignerSerializationManager, Object, Type, Type) IDesignerSerializationProvider.GetSerializer(IDesignerSerializationManager, Object, Type, Type) IDesignerSerializationProvider.GetSerializer(IDesignerSerializationManager, Object, Type, Type)

For a description of this member, see GetSerializer(IDesignerSerializationManager, Object, Type, Type).

Applies to

See also