Click or drag to resize
ResourceSetGetObject Method (String, Boolean)
Searches for a resource object with the specified name in a case-insensitive manner, if requested.

Namespace: System.Resources
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
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: Object
The requested resource.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe name parameter is null.
ObjectDisposedExceptionThe object has been closed or disposed.
See Also