ResXResourceWriter.AddAlias(String, AssemblyName) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
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
Public Overridable Sub AddAlias (aliasName As String, assemblyName As AssemblyName)
Parameters
- aliasName
- String
The name of the alias.
- assemblyName
- AssemblyName
The name of the assembly represented by aliasName
.
Exceptions
assemblyName
is null
.
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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.