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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.