ResXResourceWriter.AddAlias(String, AssemblyName) ResXResourceWriter.AddAlias(String, AssemblyName) ResXResourceWriter.AddAlias(String, AssemblyName) Method

Definition

Adds the specified alias to a list of aliases.

public:
 virtual void AddAlias(System::String ^ aliasName, System::Reflection::AssemblyName ^ assemblyName);
public virtual void AddAlias (string aliasName, System.Reflection.AssemblyName assemblyName);
abstract member AddAlias : string * System.Reflection.AssemblyName -> unit
override this.AddAlias : string * System.Reflection.AssemblyName -> unit

Parameters

aliasName
String String String

The name of the alias.

assemblyName
AssemblyName AssemblyName AssemblyName

The name of the assembly represented by aliasName.

Exceptions

Remarks

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

Applies to