C# Класс System.ComponentModel.ComponentResourceManager

The ComponentResourceManager is a resource manager object that provides simple functionality for enumerating resources for a component or object.
Наследование: System.Resources.ResourceManager
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
FillResources object>.SortedList

Открытые методы

Метод Описание
ApplyResources ( object value, string objectName ) : void

This method examines all the resources for the current culture. When it finds a resource with a key in the format of "[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.

ApplyResources ( object value, string objectName, CultureInfo culture ) : void

This method examines all the resources for the provided culture. When it finds a resource with a key in the format of "[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.

ComponentResourceManager ( ) : System
ComponentResourceManager ( Type t ) : System

Приватные методы

Метод Описание
FillResources ( CultureInfo culture, ResourceSet &resourceSet ) : object>.SortedList

Recursive routine that creates a resource hashtable populated with resources for culture and all parent cultures.

Описание методов

ApplyResources() публичный Метод

This method examines all the resources for the current culture. When it finds a resource with a key in the format of "[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 ApplyResources ( object value, string objectName ) : void
value object
objectName string
Результат void

ApplyResources() публичный Метод

This method examines all the resources for the provided culture. When it finds a resource with a key in the format of "[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 ApplyResources ( object value, string objectName, CultureInfo culture ) : void
value object
objectName string
culture System.Globalization.CultureInfo
Результат void

ComponentResourceManager() публичный Метод

public ComponentResourceManager ( ) : System
Результат System

ComponentResourceManager() публичный Метод

public ComponentResourceManager ( Type t ) : System
t System.Type
Результат System