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

MainAssembly

Properties

public string
BaseName
public bool
IgnoreCase
public Type
ResourceSetType

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)
public object
GetObject​(string name, Globalization.​CultureInfo culture)
protected string
GetResourceFileName​(Globalization.​CultureInfo culture)
GetResourceSet​(Globalization.​CultureInfo culture, bool createIfNotExists, bool tryParents)
GetStream​(string name)
GetStream​(string name, Globalization.​CultureInfo culture)
public string
GetString​(string name)
public string
GetString​(string name, Globalization.​CultureInfo culture)
InternalGetResourceSet​(Globalization.​CultureInfo culture, bool createIfNotExists, bool tryParents)
public void
ReleaseAllResources​()
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object