ResXResourceWriterAddResource(ResXDataNode) Method

Adds a named resource specified in a ResXDataNode object to the list of resources to write.

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public void AddResource(
	ResXDataNode node
)

Parameters

node  ResXDataNode
A ResXDataNode object that contains a resource name/value pair.

Exceptions

ArgumentNullExceptionnode is .
ArgumentExceptionSafeMode and CompatibleFormat are both and node contains a non-deserialized node in non-compatible format with a non-natively supported type name. Deserialize the node manually and use the AddResource(String, Object) overload instead.

See Also