ITypeResolutionService.ReferenceAssembly(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 a reference to the specified assembly.
public:
void ReferenceAssembly(System::Reflection::AssemblyName ^ name);
public void ReferenceAssembly (System.Reflection.AssemblyName name);
abstract member ReferenceAssembly : System.Reflection.AssemblyName -> unit
Public Sub ReferenceAssembly (name As AssemblyName)
Parameters
- name
- AssemblyName
An AssemblyName that indicates the assembly to reference.
Remarks
Once a reference to an assembly has been added to this service, this service can load types from names that do not specify an assembly.
Applies to
See also
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.