System.Resources.ResXDataNode.GetValue Method

Retrieves the object that is stored by this node by searching the specified assemblies.

Syntax

public object GetValue (System.Reflection.AssemblyName[] names)

Parameters

names
The list of assemblies to search for the type of the object.

Returns

The object that corresponds to the stored value.

Remarks

If the stored value currently exists in memory, it is returned directly. If it is stored in the resource file and it is not a file reference, ResXDataNode.GetValue(System.Reflection.AssemblyName[]) looks in the assemblies identified by names to find the object's corresponding type, and then looks for a System.ComponentModel.TypeConverter that can convert from a string to the appropriate object. If the resource is a file reference, ResXDataNode.GetValue(System.Reflection.AssemblyName[]) tries to deserialize it.

Requirements

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