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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.