ComponentResourceManager Class
Provides simple functionality for enumerating resources for a component or object. The ComponentResourceManager class is a ResourceManager.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | ComponentResourceManager() | Initializes a new instance of the ComponentResourceManager class with default values. |
![]() | ComponentResourceManager(Type^) | Creates a ComponentResourceManager that looks up resources in satellite assemblies based on information from the specified Type. |
| Name | Description | |
|---|---|---|
![]() | BaseName | Gets the root name of the resource files that the ResourceManager searches for resources.(Inherited from ResourceManager.) |
![]() | FallbackLocation | Gets or sets the location from which to retrieve default fallback resources.(Inherited from ResourceManager.) |
![]() | IgnoreCase | Gets or sets a value that indicates whether the resource manager allows case-insensitive resource lookups in the GetString and GetObject methods.(Inherited from ResourceManager.) |
![]() | ResourceSetType | Gets the type of the resource set object that the resource manager uses to construct a ResourceSet object.(Inherited from ResourceManager.) |
| Name | Description | |
|---|---|---|
![]() | ApplyResources(Object^, String^) | Applies a resource's value to the corresponding property of the object. |
![]() | ApplyResources(Object^, String^, CultureInfo^) | Applies a resource's value to the corresponding property of the object. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetObject(String^) | Returns the value of the specified non-string resource.(Inherited from ResourceManager.) |
![]() | GetObject(String^, CultureInfo^) | Gets the value of the specified non-string resource localized for the specified culture.(Inherited from ResourceManager.) |
![]() | GetResourceFileName(CultureInfo^) | Generates the name of the resource file for the given CultureInfo object.(Inherited from ResourceManager.) |
![]() | GetResourceSet(CultureInfo^, Boolean, Boolean) | Retrieves the resource set for a particular culture.(Inherited from ResourceManager.) |
![]() | GetStream(String^) | Returns an unmanaged memory stream object from the specified resource.(Inherited from ResourceManager.) |
![]() | GetStream(String^, CultureInfo^) | Returns an unmanaged memory stream object from the specified resource, using the specified culture.(Inherited from ResourceManager.) |
![]() | GetString(String^) | Returns the value of the specified string resource.(Inherited from ResourceManager.) |
![]() | GetString(String^, CultureInfo^) | Returns the value of the string resource localized for the specified culture.(Inherited from ResourceManager.) |
![]() | GetType() | |
![]() | InternalGetResourceSet(CultureInfo^, Boolean, Boolean) | Provides the implementation for finding a resource set.(Inherited from ResourceManager.) |
![]() | MemberwiseClone() | |
![]() | ReleaseAllResources() | Tells the resource manager to call the Close method on all ResourceSet objects and release all resources.(Inherited from ResourceManager.) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | BaseNameField | Specifies the root name of the resource files that the ResourceManager searches for resources.(Inherited from ResourceManager.) |
![]() | MainAssembly | Specifies the main assembly that contains the resources.(Inherited from ResourceManager.) |
![]() | ResourceSets | Obsolete. Contains a Hashtable that returns a mapping from cultures to ResourceSet objects.(Inherited from ResourceManager.) |
The following code example demonstrates how to use ComponentResourceManager to assign image resources to the Image property of ToolStripButton controls.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




