ResXResourceWriterAddAlias(String, AssemblyName, Boolean) Method
Adds the specified alias to the mapping of aliases.
Namespace: KGySoft.ResourcesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public void AddAlias(
string aliasName,
AssemblyName assemblyName,
bool forceWriteImmediately = false
)
Public Sub AddAlias (
aliasName As String,
assemblyName As AssemblyName,
Optional forceWriteImmediately As Boolean = false
)
public:
void AddAlias(
String^ aliasName,
AssemblyName^ assemblyName,
bool forceWriteImmediately = false
)
member AddAlias :
aliasName : string *
assemblyName : AssemblyName *
?forceWriteImmediately : bool
(* Defaults:
let _forceWriteImmediately = defaultArg forceWriteImmediately false
*)
-> unit
Parameters
- aliasName String
- The name of the alias.
- assemblyName AssemblyName
- The name of the assembly represented by aliasName.
- forceWriteImmediately Boolean (Optional)
- to write the alias immediately to the .resx file; just to
add it to the inner mapping and write it only when the assembly is referenced for the first time. This parameter is optional.
Default value: .