IExpandoResourceSetGetObject Method

Searches for a resource object with the specified name.

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
Object? GetObject(
	string name,
	bool ignoreCase = false
)

Parameters

name  String
Name of the resource to search for.
ignoreCase  Boolean  (Optional)
Indicates whether the case of the specified name should be ignored.

Return Value

Object
The requested resource, or when SafeMode is and the resource is found in a .resx source, a ResXDataNode instance from which the resource can be obtained. If the requested name cannot be found, is returned.

Exceptions

See Also