ResXResourceSetGetObject(String) 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#
public override Object? GetObject(
	string name
)

Parameters

name  String
Case-sensitive name of the resource to search for.

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.

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 class

Exceptions

See Also