Edit

Share via


ComponentResourceManager.ApplyResourcesToRegisteredType Method

Definition

Examines all the resources for the provided culture.

When it finds a resource with a key in the format of

"[objectName].[property name]" or "[objectName]-[property name]" it will apply that resource's value

to the corresponding property on the object. If there is no matching

property the resource will be ignored.

public:
 virtual void ApplyResourcesToRegisteredType(System::Object ^ value, System::String ^ objectName, System::Globalization::CultureInfo ^ culture);
public virtual void ApplyResourcesToRegisteredType (object value, string objectName, System.Globalization.CultureInfo? culture);
abstract member ApplyResourcesToRegisteredType : obj * string * System.Globalization.CultureInfo -> unit
override this.ApplyResourcesToRegisteredType : obj * string * System.Globalization.CultureInfo -> unit
Public Overridable Sub ApplyResourcesToRegisteredType (value As Object, objectName As String, culture As CultureInfo)

Parameters

value
Object

An Object that contains the property value to be applied.

objectName
String

A String that contains the name of the object to look up in the resources.

culture
CultureInfo

The culture for which to apply resources.

Applies to