Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​ComponentModel.​ComponentResourceManager
Assembly: System.ComponentModel.TypeConverter
Inheritance: object → Resources.​ResourceManager → ComponentResourceManager
Provides simple functionality for enumerating resources for a component or object. The <see cref="T:System.ComponentModel.ComponentResourceManager" /> class is a <see cref="T:System.Resources.ResourceManager" /> .
Fields and Constants
protected
Reflection.​Assembly
MainAssembly
Properties
Methods
public
void
ApplyResources​(object value,
string objectName)
Applies a resource's value to the corresponding property of the object.
value
An <see cref="T:System.Object" /> that contains the property value to be applied.
objectName
A <see cref="T:System.String" /> that contains the name of the object to look up in the resources.
public
void
ApplyResources​(object value,
string objectName,
Globalization.​CultureInfo? culture)
Applies a resource's value to the corresponding property of the object.
value
An <see cref="T:System.Object" /> that contains the property value to be applied.
objectName
A <see cref="T:System.String" /> that contains the name of the object to look up in the resources.
culture
The culture for which to apply resources.
public
void
ApplyResourcesToRegisteredType​(object value,
string objectName,
Globalization.​CultureInfo? culture)
<para>Examines all the resources for the provided culture.</para> <para>When it finds a resource with a key in the format of</para> <para>"[objectName].[property name]" or "[objectName]-[property name]" it will apply that resource's value</para> <para>to the corresponding property on the object. If there is no matching</para> <para>property the resource will be ignored.</para>
value
An <see cref="T:System.Object" /> that contains the property value to be applied.
objectName
A <see cref="T:System.String" /> that contains the name of the object to look up in the resources.
culture
The culture for which to apply resources.
public
object
GetObject​(string name)
Inherited from Resources.​ResourceManager
public
object
GetObject​(string name,
Globalization.​CultureInfo culture)
Inherited from Resources.​ResourceManager
protected
string
GetResourceFileName​(Globalization.​CultureInfo culture)
Inherited from Resources.​ResourceManager
GetResourceSet​(Globalization.​CultureInfo culture,
bool createIfNotExists,
bool tryParents)
Inherited from Resources.​ResourceManager
GetStream​(string name,
Globalization.​CultureInfo culture)
Inherited from Resources.​ResourceManager
public
string
GetString​(string name)
Inherited from Resources.​ResourceManager
public
string
GetString​(string name,
Globalization.​CultureInfo culture)
Inherited from Resources.​ResourceManager
protected
Resources.​ResourceSet
InternalGetResourceSet​(Globalization.​CultureInfo culture,
bool createIfNotExists,
bool tryParents)
Inherited from Resources.​ResourceManager
public
void
ReleaseAllResources​()
Inherited from Resources.​ResourceManager
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object