ResourceManagerGetObject Method (ResourceManager, String)

Stator | API Documentation
Get an object from the passed in resource manager

Be sure to check for NULL as this function will return null if no resource is found
You are responsible for correctly casting this object to the correct type

Namespace:  Stator.libPublic.Utilities
Assembly:  libPublic (in libPublic.dll) Version: 4.0.2018.0 (4.0.18103)
Syntax

public Object GetObject(
	ResourceManager resourceManager,
	string resourceName
)

Parameters

resourceManager
Type: System.ResourcesResourceManager
A ResourceManager class that you instantiate in your own code
resourceName
Type: SystemString
A string used to identify the (base) resource

Return Value

Type: Object
An object for the resource name or NULL if not found
See Also

Reference