ResXResourceSetGetObject(String, Boolean) Method

Searches for a resource object with the specified name.

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public override Object? GetObject(
	string name,
	bool ignoreCase
)

Parameters

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

Return Value

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

Implements

IExpandoResourceSetGetObject(String, Boolean)

Remarks

When SafeMode is , the returned object is a ResXDataNode instance from which the resource can be obtained.

For examples, see the description of the ResXResourceSet and ResXDataNode classes.

Exceptions

See Also