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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.