ResXManagerReplaceResource(String, Object, String) Method

Replaces 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 void ReplaceResource(
	string name,
	Object data,
	string comment = ""
)

Parameters

name  String
The resource name.
data  Object
The resource data.
comment  String  (Optional)
The resource comment.

Exceptions

FileNotFoundException Resource file not found.
ArgumentException A resource with the same name already exists in the table.;name

See Also