ResXResourceWriterAddMetadata(ResXDataNode) Method

Adds a metadata node specified in a ResXDataNode object to the list of resources to write.

Definition

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

Parameters

node  ResXDataNode
A ResXDataNode object that contains a metadata 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 AddMetadata(String, Object) overload instead.

See Also