ComponentResourceManager.ApplyResourcesToRegisteredType 方法

定义

检查提供区域性的所有资源。

当它以 格式查找具有键的资源时

“[objectName]。[属性名称]“ 或 ”[objectName]-[property name]“ 它将应用该资源的值

到对象上的相应属性。 如果没有匹配

将忽略资源的属性。

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)

参数

value
Object
objectName
String
culture
CultureInfo

适用于