ResXManagerAddResourceT(String, T, String) Method

Adds a specified resource of the specified type into 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 AddResource<T>(
	string name,
	T data,
	string comment = ""
)

Parameters

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

Type Parameters

T
The type.

Exceptions

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

See Also