System.Resources.ResXResourceWriter.AddAlias Method

Adds the specified alias to a list of aliases.

Syntax

public virtual void AddAlias (string aliasName, System.Reflection.AssemblyName assemblyName)

Parameters

aliasName
The name of the alias.
assemblyName
The name of the assembly represented by aliasName.

Remarks

Resources whose values are from an aliased assembly are automatically added to the list of aliases. The resource is not written until ResXResourceWriter.Generate is called.

Requirements

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