ResourceSetGetObject Method (String, Boolean) |
Searches for a resource object with the specified name in a case-insensitive manner, if requested.
Namespace: System.ResourcesAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public virtual Object GetObject(
string name,
bool ignoreCase
)
Parameters
- name
- Type: SystemString
Name of the resource to search for. - ignoreCase
- Type: SystemBoolean
Indicates whether the case of the specified name should be ignored.
Return Value
Type:
ObjectThe requested resource.
Exceptions Exception | Condition |
---|
ArgumentNullException | The name parameter is null. |
ObjectDisposedException | The object has been closed or disposed. |
See Also