ResXResourceWriter.AddMetadata Method (String, Object)

 

Adds a design-time property whose value is specified as an object to the list of resources to write.

Namespace:   System.Resources
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void AddMetadata(
	string name,
	object value
)

Parameters

name
Type: System.String

The name of a property.

value
Type: System.Object

An object that is the value of the property to add.

Exception Condition
InvalidOperationException

The resource specified by the name parameter has already been added.

.NET Framework
Available since 2.0
Return to top
Show: