ResXManagerFindResource(String, StringComparison) Method

Finds a resource by the specified name inside the .NET managed resource file.

Definition

Namespace: DevCase.Core.Application.Resources
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual Resource FindResource(
	string name,
	StringComparison stringComparison = StringComparison.OrdinalIgnoreCase
)

Parameters

name  String
The resource name.
stringComparison  StringComparison  (Optional)
The StringComparison to compare the resource name.

Return Value

Resource
The resource.

Exceptions

FileNotFoundException Resource file not found.
ArgumentException Resource with the specified name is not found.;name
ArgumentException The specified Type differs from the resource Type.;T

See Also